Older VB application built on VB 5 or 6 may not work properly under the newer versions of Windows Vista, 7 or 8. The app may even require specific dll or other file to be registered on the system.
- You may need to register MSCOMCT2.OCX and/or COMCTL32.OCX
- For a 32bit system run as follows:
- For a 64bit system run this:
Do the same for other files if needed.
1. Install Visual Basic 6.0 (as Administrator)
Select custom install as follows:
Microsoft VB 6.0
2. Skip MSDN and all other install options (Source Safe, VC++, etc).
3. Uncheck registration and complete the setup.
4. Run VB (should run fine).
Note: VB should run fine, but in some cases may need the vb6.exe set with compatibility settings on:
path: c:\Program Files\Microsoft Visual Studio\VB98\vb6.exe
R-click > Properties > Compatibility and check the following:
Run in Windows XP mode
Disable Visual Thems
Disable Desktop Composition
Disable display scalling on high DPI settings
5. Install VB 6.0 SP6 if needed (there should be no issues and previous SPs are not needed).
Note: MDAC 2.5 are NOT needed for Windows Vista and later.
credits: Ask the FortyPoundHead