Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shutdown application remotely
Message
De
26/04/2003 01:26:31
 
 
À
25/04/2003 09:23:49
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00781443
Message ID:
00781800
Vues:
19
>I have a barcode scanning application that runs on 12 machines in our shop. Every time I restart our fileserver, I have to go around to those 12 machines and restart my application. Table maintainence etc... requiring exclusive use.
>
>I would like to be able to send all of my users a message and then shutdown their application 5 minutes after receiving the message.
>
>How should I approach this task?
>
>Should I use a global timer to check for a message to display? (appapplication)


Steve, the most common approach is probably the global timer which checks for some condition such as a message file in a messages folder. If it exists your program displays the message and exits. The program should then also check for the file on start up and not load if the file still exists. This gives you control from the server when users can get back in again.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform