The information in this article applies to:
SYMPTOMSWhen a Visual Basic project contains two or more functions named "Main" (but only one is Public) and Sub Main is set as the Startup Object, the following error is received when the Project is compiled or run:
CAUSEIn addition to Public functions, Visual Basic also searches for Private functions for any name conflict. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce Behavior
Additional query words: kbDSupport kbVBp600bug kbCompiler kbdss kbVBp
Keywords : kbGrpVB |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |