The information in this article applies to:
SYMPTOMSA class module in a Standard EXE project contains a declaration for a public event. A form in the Standard EXE project instantiates an object variable based on the class module with the WithEvents keyword. When you delete the declaration statement for the object variable in the code window of the form and select the object variable from the object box of the code window, an application error occurs. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. MORE INFORMATIONThis section shows you how to create a sample project that demonstrates the bug behavior. The section assumes you are familiar with adding a class module to a Standard EXE project and instantiating the COM object from that Class module. If you are not familiar with these tasks, see the REFERENCES section for more information on these tasks. Steps to Reproduce Behavior
BUG: An application error occurs. REFERENCES
For more information about form, standard, and class modules, please see the following: in the Online Help or the MSDN Web site at: http://msdn.microsoft.com/library/devprods/vs6/vb/html/vbconcodemodules.htm For more information about creating your own classes and objects, please see: in the Online Help or the MSDN Web site at: http://msdn.microsoft.com/library/devprods/vs6/vb/html/vbconprogrammingwithobjects.htm Additional query words:
Keywords : kbservicepack kbActivexEvents kbVBp600bug kbGrpVB kbVS600sp2 kbVS600SP1 kbVS600sp3fix |
Last Reviewed: May 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |