Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need ability to kill any instances of a program under no
Message
From
15/04/2000 02:55:49
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00359871
Message ID:
00359989
Views:
10
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform