Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exe file created for a single form is not running !!!
Message
From
07/01/2000 15:41:33
 
 
To
07/01/2000 13:39:18
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00314642
Message ID:
00314716
Views:
26
>Hi everyone,
>
>I have a form that is running correctly in Visual FoxPro environment but when I built an exe for it, this exe file does not run any more by itself. What should I do?
>

Build a simple, minimal MAIN program that starts things up; if the form is not modal, put a READ EVENTS in it. If your form is not modal, add a CLEAR EVENTS to the Release method of the form as well.

*MAIN.PRG
ON SHUTDOWN DO SHUTDOWN
DO FORM MyForm
* if form is modal, you can omit the next line
READ EVENTS
DO SHUTDOWN

PROCEDURE SHUTDOWN
ON SHUTDOWN QUIT
CLOSE ALL
CLEAR ALL
QUIT
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform