How to Use NOWAIT to Have FoxPro Automatically Start ProjectID: Q128417 The information in this article applies to:
SUMMARYThis article shows by example how to have FoxPro automatically start and open a project by calling a program from the CONFIG.FPW or CONFIG.FPM file.
MORE INFORMATIONThe CONFIG.FP* file has the following last line:
The program (STARTIT.PRG) needs the following command to enable the project
to open without the program pausing:
NOTE: If you do not have the NOWAIT clause, you will have to go to the
program menu and choose Cancel or close the project to reach the Command
window. On the Macintosh, you can just click Screen 0 to cause the project
to be closed and the Command window to appear.
Step-by-Step Example1. Open or modify your CONFIG.FPW or CONFIG.FPM file. 2. Add a line similar to the following line at the bottom of the file:
3. Create a program called STARTIT.PRG.
4. Add a line similar to the following to the STARTIT.PRG file:
Additional reference words: FoxWin FoxMac 2.60a config.fpm config.fpw
KBCategory: kbprg kbenv
KBSubcategory: FxprgGeneral
|
|
Last Reviewed: June 27, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |