Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need ability to kill any instances of a program under no
Message
De
15/04/2000 02:55:49
Liam O'Hagan
O'Hagan Programming Ltd
Irlande
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00359871
Message ID:
00359989
Vues:
11
>You could create an application timer that checks the system time and at a specified time, it could shut itself down. The good thing about the app closing itself is that it would know if changes were pending and it could exit gracefully while a thrid-party solution may cause data loss or index corruption.

Or you could have a timer fire every minute or so checking for the existence of a file (called shutdown.fil or something like that). This allows the administrator to shut down all instances of the app at any time and to prevent new instances while the file exists.

HTH

Liam
Liam O'Hagan
MCP VFP Desktop Apps
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform