PRB: Application Appears Then Exits to Operating System (132697)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q132697 SYMPTOMS
A Visual FoxPro .EXE file appears briefly, and then it exits to the
operating system.
CAUSE
The main program is a screen or menu, and no READ EVENTS command has been
issued. In Visual FoxPro, the Command window provides a place for your
application to wait for the next command. Because the Command window is
unavailable in a run-time application, the .EXE file has no wait state to
anticipate keyboard input, so the application returns to the operating
system.
RESOLUTION
A READ EVENTS command or a modal form will provide a wait state for your
application.
STATUS
This behavior is by design.
REFERENCES
Visual FoxPro Professional Features Guide, Chapter 9.
Modification Type: | Major | Last Reviewed: | 11/17/2003 |
---|
Keywords: | kbcode KB132697 |
---|
|