Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I know if a file is already used as a resource f
Message
De
12/02/1999 23:28:52
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00186749
Message ID:
00187321
Vues:
18
You can know it only if the file was opened through a share. I mean: do it without trying to open the file and trap the error.

If you really want to do it this way, see my FAQ about "Who has what file opened on the netwrok" in the Files section.

But, Edward's solution is better because it's simple, it's bullet proof and... it's used by almost everyone. BTW, you can use this very simple method to be sure that your app is opened only once by the same user (which may not be on the same computer!!).

Vlad

>Is not there someway I can just ask if a file is already open?
>
>Brenda
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform