The information in this article applies to:
SYMPTOMSA user-created ActiveX control contains several private Enum statements. When this user control is added to a Visual Basic project and the project containing the usercontrol is run, an application error occurs that terminates Visual Basic. RESOLUTIONYou can work around this behavior by declaring your Enum statements as Public rather than Private. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.This bug was corrected in Visual Studio 6.0 Service Pack 3.
For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base: MORE INFORMATIONThis section demonstrates how to create a project that reproduces the bug behavior. The section assumes you are familiar with creating an ActiveX control and adding it to a Standard EXE project. Steps to Reproduce Behavior
Additional query words:
Keywords : kbservicepack kbCtrlCreate kbVBp600bug kbGrpVB kbVS600sp2 kbVS600SP1 kbVS600sp3fix |
Last Reviewed: May 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |