How to fix VB application not running on Windows Vista, 7 or 8

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.

  1. You may need to register MSCOMCT2.OCX and/or COMCTL32.OCX
  2. For a 32bit system run as follows:
    [text]Regsvr32 MSCOMCT2.OCX[/text]
  3. For a 64bit system run this:
    [text]Regsvr32 c:\windows\SysWOW64\MSCOMCT2.OCX[/text]

Do the same for other files if needed.