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:
00635203
Views:
19
Doug,

>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.

I see this event in the NT4 event log: Event = 6006 Details = The Event log service was stopped. I think one could assume that the event log service starts at boot and ends at Shutdown.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform