Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting when user exits a VFP .exe improperly
Message
From
25/11/1996 10:59:56
 
 
To
25/11/1996 07:07:43
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00013353
Message ID:
00013377
Views:
30
>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

Previous
Reply
Map
View

Click here to load this message in the networking platform