BUG: Text Box and Data Control on a UserControl Closes UserControl in the IDE

ID: Q240446


The information in this article applies to:
  • Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 6.0


SYMPTOMS

A Standard EXE or UserControl form contains a second UserControl. The second UserControl contains a text box and a data control. You close all the forms and then open the second UserControl. When you attempt to change the DataSource property of the text box in the property window, the UserControl immediately closes or an application error occurs that causes Visual Basic to stop responding.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Start a new ActiveX control project in Visual Basic. UserControl1 is created by default.


  2. Add a second UserControl, UserControl2, to the project.


  3. Add a TextBox and a Data Control to UserControl2.


  4. Close the design window for UserControl2 and put a UserControl2 into UserControl1.


  5. Close all visible design windows.


  6. Open UserControl2 and select the TextBox.


  7. In the Property window, change the DataSource property to Data1. UserControl2 immediately closes or an application error occurs that causes Visual Basic to stop responding.


Additional query words: Container

Keywords : kbActiveX kbCtrlCreate kbVBp600bug kbGrpVB kbDSupport
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: October 22, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.