The information in this article applies to:
SYMPTOMSWhen printing characters to the desktop in Microsoft Visual FoxPro 6.0, the following error might occur: This error does not appear to occur in Visual FoxPro 3.0, 5.0, or 5.0a. RESOLUTION
In the example below, removing the @...BOX command or the SAVE SCREEN TO and RESTORE SCREEN FROM commands prevents the error message. MORE INFORMATIONThis error most often occurs when converting legacy code from FoxPro 2.x for Microsoft Windows or MS-DOS into Visual FoxPro 6.0. Upgrading to Microsoft Visual Studio Service Pack 3 does not fix the problem. In the code example below, the @...BOX, SAVE SCREEN, and RESTORE SCREEN commands act to cause the error. However, printing other characters or using other commands to display data to the desktop might also cause the problem. Steps to Reproduce BehaviorCreate a program containing the following code and execute it:
Note that the error mentioned in the "Symptoms" section of this article appears repeatedly.
REFERENCESFor additional information this error message, click the article number below to view the article in the Microsoft Knowledge Base: Q162301 FIX: @ SAY Causes Error After SET DEVICE to PRINTER Command Additional query words:
Keywords : kbVFp600 kbXBase kbGrpFox kbDSupport |
Last Reviewed: January 17, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |