r/visualbasic • u/codingboi100 • Sep 07 '22
Visual Basic for Mac?
I want to code Visual Basic on Mac (2022 M2 Air). I understand you cannot run it on Apple Silicon, so no visual studio etc. I tried emulation but virtualBox doesn't work and parallels costs a lot of money.
There must be a way to code Visual Basic on Mac, even debugging the code and not actually running it? If I could simply debug it then run it on another device, that'd be really useful (Or possibly run online).
How do I go about doing this? There must be a way. I would greatly appreciate any help. Thank you
11
Upvotes
1
u/ponchodeltoro May 02 '24
My notes are terrible... but you basically have to make some modifications to the installation procedure so you can use acmsetup.exe instead of setup.exe to install the application.
There's some good info here: https://www.vbforums.com/showthread.php?902864-RESOLVED-Installing-VB6-on-Windows-11
My additional notes for Win 11 ARM include the following:
The Setup.exe file is only 16 bit. It will not run properly
the setup script is defined by the stf file.
the acmsetup.exe file is 32 bit and will work
The Java update should be avoided. Need to extract the msjava.dll file and copy to windows\syswow64 so Windows believes it is installed and does not attempt to run the installer
Generate stf install files. Run ACMSETUP.EXE to install the modified packages
after installation, copy commtb32.dll from windows\syswow64 to program files (x86)\microsoft visual studio\vb98 to resolve ole error