Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trap Windows Startup & Shutdown?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00634451
Message ID:
00635185
Vues:
37
>George.
>
>>Oh I know. In fact, the best way might be done with C++, and all it does is sit around and wait to process the Windows shutdown message.
>
>It could easily spawn DD's task to log the shutdown event.
>
>Speaking of that doesn't NT/W2k have an event log file that could be read by his startup app?

Oh sure, but the question is how to track the shut down. MSKB#Q257541 shows how to use the WScript.Shell's LogEvent method from within VFP, but I don't know if it tracks the shutdown. Be a snap in VBScript to implement if it can.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform