Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trap Windows Startup & Shutdown?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00634451
Message ID:
00635185
Views:
36
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform