Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trap Windows Startup & Shutdown?
Message
De
20/03/2002 11:01:44
 
 
À
20/03/2002 10:52:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00634451
Message ID:
00634992
Vues:
19
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform