wqweto / UMMM

Unattended Make My Manifest
GNU Lesser General Public License v3.0
54 stars 12 forks source link

Compiling UMMM (VB6) on Windows #33

Open SkullbocksDE opened 2 years ago

SkullbocksDE commented 2 years ago

Hi there, I had a lot of trouble to compile UMMM, because it uses VB6 at the bottom. Lot of VB was over the time carried to .NET via VS2008 migration wizards.

You need Microsoft Visual Studio 6, which has the VB6 compiler: https://winworldpc.com/product/microsoft-visual-stu/60

If you are installing VS6 above WinXP, read this article to install it on newer versions of Windows: https://www.codeproject.com/Articles/1191047/Install-Visual-Studio-on-Windows

Then you are able to find VB6.exe installed here by default: C:\Program Files (x86)\Microsoft Visual Studio\VB98

Copy the Ummm.vbp and mdUmmm.bas beside VB6.exe.

Open the command line there and run: VB6.EXE /MAKE Ummm.vbp

You now have the Ummm.exe available to run.

Don't forget to clean up. Cheers'

DaveInCaz commented 2 years ago

@SkullbocksDE I do not recommend copying files into the installation folder of any program. Instead of that you can use the full path to VB6 instead. e.g.:

C:\Program Files (x86)\Microsoft Visual Studio\VB98\VB6 /MAKE Ummm.vbp

That will work if you are in the same directory as the UMMM files.

You could also add VB6 (or any other program) to the system path if you need to use it often.

wqweto commented 2 years ago

Btw, there are precompiled UMMM.exe executables for current and past versions in the repo's releases page.