Even though I'm running Windows 7, I still need to fire up Visual
Basic 6 every once in a while to maintain my employer's ancient apps.
The steps below were put together from a few posts on different sites;
mostly for Vista, but so far everything has been running smoothly on 7
for me.
- 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
- ActiveX
- Data Access
- Graphics
- Click continue and the process will start, and (hopefully) eventually complete.
- 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 http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=A8494EDB-2E89-4676-A16A-5C5477CB9713&displaylang=en and install.
- 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!
0 comments:
Post a Comment