PRB: Can't Add Windows Common Controls or Common Dialog Control to ProjectID: Q221990
|
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it if
a problem occurs. For information about how to do this, view the "Restoring
the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help
topic in Regedt32.exe.
Visual Basic 6.0 and Visual Basic 5.0 are both installed on the same system. After uninstalling Visual Basic 6.0, the following error appears when you attempt to add the Windows Common Controls or the Common Dialog control to a Visual Basic 5.0 project:
Error
Could Not Be Loaded
The registry contains a reference to a control version that was removed by uninstalling Visual Basic 6.0.
WARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys and
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
If you are running Windows NT, you should also update your Emergency
Repair Disk (ERD).
Delete the registry key for the problem control from:
HKEY_CLASSES_ROOT\TypeLib
and re-register it. For additional information
about deleting and re-registering an ActiveX control, please refer to the
following article in the Microsoft Knowledge Base:
The following are the Class ID numbers for the controls known to be affected by this problem:
ActiveX Control | File Name | Class ID |
---|---|---|
Windows Common Controls | comctl32.ocx | 6B7E6392-850A-101B-AFC0-4210102A8DA7 |
Common Dialog Control | comdlg32.ocx | 9043C88-F6F2-101A-A3C9-08002B2F49FB |
Additional query words:
Keywords : kbActiveX kbCmnCtrls kbRegistry kbVBp kbVBp500 kbVBp600 kbIDEProject kbGrpVB
Version : WINDOWS:5.0,6.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: July 9, 1999