Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Kicking User out of software
Message
De
18/07/2001 11:57:54
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00532035
Message ID:
00532059
Vues:
14
>Sometimes when errors occur or I need to do an update to a table, I need to get exclusive access to the .dbc file. I have about 25 users of my software and 6 are in defferent parts of the county. Can anyony give me advice on how to kick people out of my software after saving any open work they may have?

I think you can create a timer that checks for a certain condition (e.g., the existence of a file on disk). If the condition is fulfilled, the timer invokes function MyShutDown(). You probably already have a similar function; this function must do all cleanup.

Hilmar.
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