Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine who is using a file
Message
From
14/06/2007 08:25:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01232791
Message ID:
01232937
Views:
15
>>>Is it possible to determine who is "using" a table when the table is shared on a network? Say we need to perform a PACK or some other maintenence that requires exclusive use of the file, but some user has it open so we can't get exclusive possession of it. Is there a way to determine which user has it open?
>>>
>>>I have a "shutdown other users" function in my app but I'd like to do something a little less severe.
>>
>>Check if this Who opened what files on the network? (modified to use only VFP code) FAQ #7896 would work for you.
>
>
>Looks great for users who are running Windows NT.

It works on XP too. Note that Windows 2000 and Windows XP are Windows NT, with a new name.
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)
Previous
Reply
Map
View

Click here to load this message in the networking platform