Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Force application to close
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00079232
Message ID:
00079464
Vues:
40
Vlad, will this work if the user left the app at a messagebox (or other modal form) or with a menu open? I thought there were situations where timers didn't fire on schedule.


>You can create a dummy file on the server and have your app check for the existance of this file using a timer. If the file exists, the app will close itself. Or you can use a dummy table and change the value of one field, etc.
>
>Vlad
>
>>I have an executable that runs in the middle of the night when
>>(most) of us are sleeping. This exe captures downloaded files from an AS400 and refreshes many of my tables for my application. I also take this opportunity to pack and reindex my tables since I have exclusive use of all tables. This is where I am having some trouble. Everything works okay while running this exe as long as all of my users are logged out of the app, but if a user forgets to log out, my exe obviously will bomb since I need exclusive use to pack & reindex.
>>What is the best way to boot out all users after an extended period of idle time, or better yet, at a pre-determined time so my exe can do its thing? any suggestions appreciated!!
>>
>>John.
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform