PRB: Cannot Add Windows Common Controls or Common Dialog Control to Project (221990)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q221990 SYMPTOMSIMPORTANT: This article contains information about modifying the registry. Before you
modify the registry, make sure to back it up and make sure that you understand how to restore
the registry if a problem occurs. For information about how to back up, restore, and edit the
registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
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
CAUSE
The registry contains a reference to a control version that was removed by uninstalling Visual Basic 6.0.
RESOLUTIONWARNING: If you use Registry Editor incorrectly, you may cause serious problems that may
require you to reinstall your operating system. Microsoft cannot guarantee that you can solve
problems that result from using Registry Editor incorrectly. Use Registry Editor at your own
risk.
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:
217180 HOWTO: Delete and Re-Register TypeLib GUID for ActiveX Control
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbCmnCtrls kbIDEProject kbprb kbRegistry KB221990 |
---|
|