Article ID: 197296
Article Last Modified on 4/22/2003
APPLIES TO
- Microsoft Visual Basic 6.0 Enterprise Edition
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.
Keywords: kbbug kbdataenv kbaddin kbdatabase kbdataview kbctrl kbpending KB197296