Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ON SHUTDOWN
Message
De
26/04/2001 11:30:02
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
 
 
À
26/04/2001 11:09:51
Steve Jones
Business Systems Services Uk Ltd
Swansea, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00500134
Message ID:
00500143
Vues:
26
Hi Steve,
What holds your application. IOW, do you issue a READ EVENTS or are you in a eternal loop? If you issue a READ EVENTS, you only need a CLEAR EVENTS, and the application will fall through. (Just a side point.) I assume no READ EVENTS because then your ON SHUTDOWN should work just fine with a QUIT or CLEAR EVENTS. (Althought QUIT is superflous.) If you have a loop, perhaps a DOEVENTS is needed to look at the Windows events.

>We are designing an application that will run in background with no user input. It is executed in Windows NT startup directory, and we need to get it to automatically close when windows is shut down. We are trying to use the ON SHUTDOWN command to call a prg which contains the quit command but this just hangs the PC when shutdown is run.
>
>Any help appreciated.
>
>Steve
Charlie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform