Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close the VFP desktop?
Message
From
11/12/1998 11:00:14
 
 
To
11/12/1998 07:47:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00166481
Message ID:
00166595
Views:
10
>To All,
>
>I have a program exit routine that closes files, ends the event read, and terminates the application gracefully. How can I run that routine when someone clicks in the VFP desktop screen X button? Unless I stop reading events, FoxPro reports that it cannot quit.

An ON SHUTDOWN procedure that does a CLEAR EVENTS should help.

>
>Thanks,
>Allen
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
Reply
Map
View

Click here to load this message in the networking platform