Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to detect Windows shutting down
Message
De
20/11/2003 22:24:23
 
 
À
20/11/2003 21:08:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00852171
Message ID:
00852196
Vues:
10
Hi,

Thank for your advise and article, it help alot
Will check it out on my application.

>Check out ON SHUTDOWN command in help. A good article which explains this can be found at http://www.ml-consult.demon.co.uk/foxst-07.htm. When Windows is shutting down, your application can respond by executing cleanup code, clear events and quit specified in you "ON SHUTDOWN" procedure.
>
>HTH
>Elmer
>
>>Hi,
>>
>>I like to know the following issue
>>
>>01) If my application is running in the front ground.
>>02) Any power trip, my UPS (uninterrupted power supply device) will
>>sent some signal to all my application to shutdown.
>>
>>03) How do my VFP application detect that signal and do a normal
>>shutdown like other application do ?
>>
>>04) My UPS vendor don't had any API for me to check the UPS status.
>>If other windows application can do it, surely there must be some
>>API for it.
>>
>>Please kindly advise and help. Thank in advance.
Best Regards
Virusim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform