PRB: Error Loading Form With Reference to UserControl1.ctl (193335)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q193335 SYMPTOMS
In a Visual Basic project, if you have a form that references a CTL file
(such as UserControl1.ctl) instead of a compiled OCX, the reference will
point to the specific project that contains the control only. If you add
the UserControl and Form to a project of a different name later, the
following error occurs:
Errors during loading. See <path to form>.log for details.
CAUSE
The reference to the control is bound specifically to the project that the
control resides in. When the form is added to another project, the
reference becomes invalid.
STATUS
Microsoft is researching this problem and will post new information here in
the Microsoft Knowledge Base as it becomes available.
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbprb KB193335 |
---|
|