The information in this article applies to:
SYMPTOMSYou invoke the Print method from within a With..End block, as follows:
When you run the project, the following error message is displayed:
CAUSE"Print" is a reserved word. If Print is used within a With statement, Visual Basic incorrectly parses the word. RESOLUTIONExplicitly reference the object when invoking the Print method. For example, use the following code sample to eliminate this behavior:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONSteps to Reproduce Behavior
Additional query words: kbVBp500bug kbVBp600bug kbVBp kbdsd kbDSupport kbCompiler
Keywords : kbGrpVB |
Last Reviewed: February 2, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |