FIX: Visual Basic Crashes on Code Generated by ActiveX Control Interface Wizard (246919)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q246919 SYMPTOMS
Visual Basic crashes when running a Standard EXE project that contains an ADO Data Control and a UserControl that has DataGrid or MSHFlexGrid controls if the UserControl code was generated by the ActiveX Control Interface Wizard.
The crash occurs on the call to the ReadProperty() method of the PropertyBag object in the UserControl's ReadProperties event:
Private Sub UserControl_ReadProperties(PropBag As PropertyBag)
'Crashes on the following line:
Set DataSource = PropBag.ReadProperty("DataSource", Nothing)
End Sub
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in the latest service pack for Visual Studio 6.0. For additional information about Visual Studio service packs, click the following article numbers to view the articles in the Microsoft Knowledge Base: 194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
194295 HOWTO: Tell That a Visual Studio Service Pack Is Installed To download the latest Visual Studio service pack, visit the following Microsoft Web site:
Modification Type: | Minor | Last Reviewed: | 12/12/2005 |
---|
Keywords: | kbAddIn kbBug kbCtrl kbDatabase kbDataBinding kbDesigner kbfix kbVS600sp4fix kbVS600sp5fix KB246919 |
---|
|