Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dealing with users who run a program and then go away
Message
De
05/03/2002 10:20:07
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00628400
Message ID:
00628410
Vues:
15
It really isn't necessary. You can have several version of the executable, assign each a number (MyApp-0001.exe, MyApp-0002.exe, etc.). Then, you can update the next version (in the example, MyApp-0003.exe), without even having to ask the users to log out.

The user gets a shortcut to a small loader program that automatically detects the latest version and loads it.

Additional benefit: if you screw up, users can go back 1 or 2 versions, while you apply the fixes.

Hilmar.

>I'm a nice guy. I really am. Invariably, however, one runs across a situation where, in order to please one person, you have to rebuild an executable that yet a third person has open. Maybe this third person has gone to the rest room, maybe to lunch, but no one has seen them today, and their screen saver is on and I really don't want to just shut off their computer for fear of some file getting trashed. OK, I'm not a nice guy ... I don't turn off the computer because *I* would have to fix any files that might get trashed.
>
>So I'm playing the Grinch.
>
>I'm contemplating ways to shutting down Foxpro applications either on demand over the network or after a period of inactivity. I thought about writing an FLL to capture null events, but null events occur all the time and anything constantly capturing them would be *almost* as bad as the proverbial "tight loop."
>
>Does anyone have any suggestions for terminating programs that have been left running?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform