Install Visual Basic 6 on Windows 7 / Windows 8

You may be wondering, Why install Visual Basic 6 on the new operating systems such as windows 7 or Windows 8.

Well, VB6 is the best tool for learning GUI programming in Windows. But they never tell how to install them on newer operating operating systems.

This has been successfully tested on my Windows 7 Home Premium 64-bit, so it should probably work with Windows 8 too.

Before Install

Type cmd in Start Menu -> Right click on cmd.exe -> select “Run as administrator” and type in the following comman:

copy nul C:\Windows\msjava.dll

 Installing

 

  • Browse to the root folder of CD (or the extracted folder on Desktop)
  • Right Click “SETUP.EXE” -> Properties -> Compatibility Tab
  • Now Check “Run this program in compatibility mode” and Select Windows XP( Service Pack 3)
  • Also Check “Run this program as Administrator” and Click OK
  • Now open SETUP.EXE. UAC will prompt for confirmation. Select Yes
  • Now some Program Compatibility Assistant warnings might appear. Select Run Program There
  • Click Next -> Click “I accept agreement”, then Next -> Enter name and company information, click Next
  • Now Select “Custom Setup” (IMPORTANT). Click Next
  • Click Continue, then OK
  • Now Setup Will Wait and process some information. It might also go to “Not responding” State and Windows might Prompt to close the Process. DO NOT close the process.(IMPORTANT)  Select “Wait for the program to respond”.
    Wait time varies, I had to wait for 30-45 mins on “Not Responding” State. You might need to wait more…or less if you are lucky
  • Now finally the options list appears
  • Click on “Select All”. All options should be checked. Click Continue, setup will continue.
  • Now Setup might again Hang on “Updating System”. Wait, DO NOT close the process. Again the wait time might be from few mins to an hour..!!
  • Finally, a successful completion dialog will appear, at which click OK. At this point, Visual Basic 6 is installed. Some people might also get some error, but Visual Basic 6 will be installed anyways.
  • Access it from Start Menu

Fixing

If you see any sluggishness, example for resizing the objects, here the quick fix.

Browse the location where you installed VB6. By default, the path is:

C:\Program Files (x86)\Microsoft Visual Studio\VB98

 

  • Right click the VB6.exe program file, and select properties from the context menu.
  • Click on compatibility tab
  • Check the checkboxes:

For Windows 7

  • Run this program in compatibility mode for Windows XP (Service Pack 3)
  • Disable Visual Themes
  • Disable Desktop Composition
  • Disable display scaling on high DPI settings

For Windows 8

  • Run this program in compatibility mode for Windows XP (Service Pack 3)
  • Reduced Color Mode (16-Bit Color)
  • Disable display scaling on high DPI settings

After saving, open VB6, It should be work normally.

source: sahil

 

 

Artikel terkait:   Windows Setup to USB

Isi Komentar

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *

− two = two

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

Scroll to Top