Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting when user exits a VFP .exe improperly
Message
De
25/11/1996 10:59:56
 
 
À
25/11/1996 07:07:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00013353
Message ID:
00013377
Vues:
34
>I need some way to find out when a network (esp. Win95, NetBeui) user of my VFP .exe dose not exit properly (power-outage, GP fault, etc.) so that I know the next time another user logs on to "clean-up the tables" (pack/reindex/append to new structure).
>
>Anybody got any ideas? Note: you can't rely on the lock status of a record because a Win95 "server", as opposed to NT, does not automatically dissconnet a user/client with open files when that user crashes.

You can create a small file with something unique (like Sys(0)) to each user, and check, when you enter if the file exists. Of course, remove it upon exit...
Alexandre Nobre
Alpha Bytes Computer Corp.

Did you know that there are innocent people dying in East Timor?
It helps if you do...

I suppose you don't need glasses if you're able to read this line

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform