Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine who is using a file
Message
De
14/06/2007 08:25:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01232791
Message ID:
01232937
Vues:
12
>>>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform