BUG: CtlPlus Sample Fails to Load
Article ID: 191551
Article Last Modified on 4/22/2003
APPLIES TO
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
This article was previously published under Q191551
SYMPTOMS
When trying to load the Visual Basic CtlPlus sample that ships with Visual
Basic 6.0 you receive the following error:
<Path to CtlPlus.vbg>\CtlPlus.ocx could not be loaded- Continue Loading
Project?
CAUSE
The Ctlplus.vbp and the Testctlp.vbp project files reference the built
version of the Ctlplus.ocx file. However, the sample does not come with a
built copy of the Ctlplus.ocx file.
RESOLUTION
Make the following changes to the Ctlplus.vpb and Testctlp.vbp files. Note
that the Read Only attribute must be cleared on these files first.
- Open the Ctlplus.vbp file in a text editor like Notepad.
- Remove the "CompatibleEXE32=CtlPlus.OCX" line from the .vbp file.
- Save and close the file.
- Open the Testctlp.vpb file in a text editor like Notepad.
- Modify the Object reference line to be the following:
Object=*\ACtlPlus.vbp
instead of
Object={782B8EDB-9338-11D1-B06B-00DD01144174}#1.0#0; CtlPlus.ocx
- Save and close the file. It now opens without giving an error.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. We are researching this bug and will post
new information here in the Microsoft Knowledge Base as it becomes
available.
Additional query words: kbVBp kbVBp600bug
Keywords: kbbug kbpending KB191551