Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement