Create a 0-byte file in the C:\Windows directory called msjava.dll.
Don’t just install via the Autorun executable; instead browse the Visual Studio 6 CD (or folder), right-click Setup.exe and select Run As Administrator.
On any Program Compatibility Assistant warnings, click Run Program.
Step through the setup screens until you’re able to choose Custom Setup, then click next.
On the setup options, install the following items and nothing else:
- Microsoft Visual Basic 6.0
- Data Access
Click continue and the process will start.
Skip the installations of the MSDN CD, BackOffice, VSS and SNA Server, and clear the checkbox for “Register Now”. Setup should be complete.
Download the VB6 Service Pack 6 from here and install. Extract the installer in C:\Users\ravi\AppData\Local\Temp
Change the compatibility settings for Visual Basic (to get it to run a little more smoothly under Windows 7) by browsing to C:\Program Files\Microsoft Visual Studio\VB98, right-clicking the VB6.exe file, and selecting properties.
On the Compatibility tab, check the following:
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
When you start up the IDE, you may get a notification saying that the color scheme has been changed to Windows 7 Basic, but it will be changed back to Aero once you exit. Everything should be working fine at this point!
Insert thr CD again to install ActiveX Control Test Container.
- Select Other Tools in Custom Installation.