PRB: RUN /N CONTROL PRINTERS Behaves Differently in .EXE FileID: Q101154 2.50 2.50a WINDOWS kbprg kbprb The information in this article applies to:
SYMPTOMSIf the RUN /N CONTROL PRINTERS command is put into a menu option, the menu has a foundation READ, and an .EXE file is built, the Control Panel Printers dialog box appears briefly in the foreground and then disappears behind the .EXE file's main window.
RESOLUTIONInstead of using the RUN /N CONTROL PRINTERS command, add the PROMPT clause to the end of the command used to print a report or label. This clause will bring up the Print dialog box. For example:
MORE INFORMATIONIn the FoxPro development environment, or in an application, issuing a RUN /N CONTROL PRINTERS command from the Command window causes the Printers dialog box in the Windows Control Panel to come up in the foreground and not behind the main window.
Steps to Reproduce Problem
10. In the Windows Program Manager, choose Run from the File menu.
11. In the Run box, type the following and press ENTER:
12. Choose Print from the menu bar.
Note that the Printers dialog box is drawn in the foreground and then disappears. Choose Report, and note that a Print dialog box comes up, as expected. Additional reference words: MBuilder FoxWin 2.50 2.50a KBCategory: kbprg kbprb KBSubcategory: FxtoolMBuilder
|
|
Last Reviewed: April 30, 1996 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |