Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to trap shutdown in a VFP exe as a windows service
Message
From
02/10/2003 15:25:39
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00834270
Message ID:
00834438
Views:
26
How about On shutdown?
>Hi all,
>
>I am running a VFP8 executable as a windows service, but I cannot find a way to trap the service shutdown. I want to add some code to tidy up data and files before the executable is closed.
>
>My executable is based on a custom class. I've tried the destroy() event, the on shutdown command, but neither of these seem to fire when the service is stopped.
>
>I am aware of the dart service software, but I can't afford to go down that route.
>
>Any help would be most welcome!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform