Install VB6 on Windows 8

By | 2012-03-25

As most of the world knows, Microsoft has made available a consumer preview of Windows 8. While this is still considered beta software, I highly recommend you check it out. Some of us technology minded folks are charged with supporting legacy software, developed with Visual Studio 6 (particulary Visual Basic 6), and with the iminent release of Windows 8, there is some worry about whether our support tools will work with it. This tutorial will (hopefully) help you get VB6 installed on your Windows 8 system!

First off, I highly recommend you test this on your non-production machine. As with all beta software, strange things can happen. If you fry your system, don’t hold me responsible! I am just passing on what has worked for me. This description might be a little verbose, but I would suggest that you at least read through it once before proceeding. That way you can pick out the bits that pertain to you. Also, I may have included some unecessary steps, but like I said, this is the process that worked on my test system.

Test system specifications

The following system was used to test this procedure:

  • Dell Latitude E6410
  • 4GB RAM
  • Intel Core i7 @ 2.67 gHz
  • Windows 8 Consumer Preview (64-bit) (fully patched)

No other software has been loaded on to the system. It’s fully stock. Your results and process may vary for 32-bit systems, or if you have installed any other software, but should work. If not, it should give you a good starting point. Insert the disk into the drive (or mount the ISO), after which autorun should detect the disk, and ask for action, at which point you should ignore or dismiss it.

First Thing

Be sure to create the zero byte file for MSJAVA.DLL, as described on this supporting page.  If you don’t you’ll at the very least be forced to reboot after the installation of a very old version of Java. I’ve also seen where the Java install gets “stuck”, in that Java tries to install every time you run setup, and forces a reboot every single time, due to the inability to completely install.  So, do yourself a favor, and create the zero byte file. It only adds a minute to your process, and it’s worth it.

Change compatibility settings

Hold the Windows key and press the letter E to open Windows Explorer. Browse to the CD/DVD drive where you have inserted the disk, and right click the setup.exe application to run the program as Administrator. Check the checkbox under Compatibility mode, and select Windows XP (Service Pack 3) under the Run this program in compatibility mode for: heading. Click Apply, then Ok. Back in Windows Explorer, open the Setup folder on the CD-ROM, and change the compatibility mode for the ACMSetup.exe using the same method.

Step through the Wizard

  1. UAC
    1. Yes
  2. Program Compatibility Assistant
    1. “Run the program without getting help”
  3. Installation Wizard
    1. Next
  4. End User License Agreement
    1. I accept the agreement
    2. Next
  5. Product Number and User ID
    1. Enter product number
    2. Enter Your name and Your company’s name
    3. Next
  6. Setup Options
    1. Install Visual Basic 6.0 Enterprise Edition
    2. Next
  7. Choose Common Install Folder
    1. default location; change if needed
    2. Next
  8. Program Compatibility Assistant
    1. ACMSetup is run at this point to actually install VB6
    2. Select “Run the program without getting help”
  9. Visual Basic 6.0 Enterprise Setup
    1. Click Continue on the opening screen.
    2. Click Ok at the bottom of the Product ID screen
    3. pause while setup searches for installed components
  10. Choose the installation you want
    1. I selected custom for this installation. For the options, I chose Microsoft Visual Basic 6.0 and Active X. Ensure Data access components is deselected. If it’s not deselected, setup will hang!
    2. change path if desired. I used the default path

Setup will go through a few steps, and eventually complete.

Some Final Tweaks

Back in Windows Explorer, browse to the path that you install VB6 to. If you stuck to the defaults, the path should be:c:\Program Files (x86)\Microsoft Visual Studio\VB98

Right-click the VB6.EXE program, select properties, then go to the Compatibility tab. At the bottom of the window, click the Change settings for all users button. Put a tick mark in the check box, and make sure the Windows XP (service pack 3) option is selected in the drop down.

You’ll also want to put a check mark in the Disable display scaling on high DPI settings and the Run this program as an administrator check boxes, towards the bottom of the window.

Finally click Apply, then Ok, then Ok again. Now, you can go ahead and close you miscellaneous Explorer windows, and head back to your Start tiles. In that list, you should see a Microsoft Visual Basic 6.0 icon in the list.

Click that bad boy, and enjoy the legacy goodness!

Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.