Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to trap shutdown in a VFP exe as a windows service
Message
De
02/10/2003 15:25:39
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00834270
Message ID:
00834438
Vues:
24
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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform