Quote:
1. Locate Regsvr32.exe on your machine. Note its path.
2. Locate the offending OCX file(s), usually found in the Windows\System folder for Windows 95, Windows 98, and Windows Me, or the Windows\System32 folder for Windows NT and Windows 2000.
3. On the Start menu, click Run.
4. In the Run dialog box, type the following:
<Path to RegSvr32>\REGSVR32.EXE /u <Path to OCX>\OCXFILE.OCX
For example:
C:\Devstudio\VB\REGSVR32.EXE /u C:\Winnt\System32\COMCTL32.OCX
NOTE: If Regsvr32.exe is in the System or System32 folder, the path is optional.
5. If you are reinstalling an older version of the control, you should delete/remove the .OCX, .OCA and .DEP files so they will be replaced.
6. Repeat the previous 3 steps for each offending OCX.
7. On Control Panel, click Add\Remove Programs.
8. Select Visual Basic, and click Add\Remove.
9. Click Reinstall when the options (Add\Remove, Remove All, Reinstall) dialog box appears.