Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trap Windows Startup & Shutdown?
Message
From
20/03/2002 11:01:44
 
 
To
20/03/2002 10:52:14
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00634451
Message ID:
00634992
Views:
20
>Kevin,
>
>>Doug
>>
>>>I've created a VFP-based service that works great for startups. I think until I discover a Windows API call I'll go the DO WHILE + sleep route. I can just write a registry entry every 10 minutes or so and then when I next start up fetch it and update where I need to.
>>
>>I thought you wanted something to run when the user shut's down, so surely when your VFP service shut's down with the machine, it can record the info then?
>>
>>Kev
>
>Well, that's what I thought too but that doesn't seem to be the case. I'll have to fool around a little more with it.

So does that mean you have tried this? If you have used
ON SHUTDOWN DO blah blah
, then the app should shutdown successfully, logging details on the way out.

Kev
Previous
Reply
Map
View

Click here to load this message in the networking platform