BUG: Error 424 Adding Data Object Wizard-Created Ctrl to Form (197296)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q197296 SYMPTOMS
When you try to place a user control that was created using the Data Object
Wizard onto a form, Error 424 ("Object Required") occurs.
CAUSE
When you place a user control on a form, that control's Resize event is
executed. If you create a list box or combo box type of user control using
the Data Object Wizard, that control's Resize event refers to the contained
list box or combo box incorrectly and causes error 424, "Object required."
RESOLUTION
To resolve this problem, change the code in the user control's Resize event
to refer correctly to the list box or combo box contained in that user
control. An example is provided in the MORE INFORMATION section of this
article.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 4/22/2003 |
---|
Keywords: | kbAddIn kbBug kbCtrl kbDatabase kbDataEnv kbDataview kbpending KB197296 |
---|
|