Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to tell if file is open exclusively ?
Message
De
28/08/2001 12:52:49
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00503929
Message ID:
00549918
Vues:
20
>I am putting together a maintenance application and I want to grab
> dbc
> dct
> dcx
> dbf
> cdx
> fpt
> ini
> prg
>exclusively when the app starts so I can do stuff to the files (or just quit if everything can't be grabbed). It looks like VFP's locking is ignored by programs like Excel, but Excel is fine with opening a DBF and preventing VFP from USEing it. What would you recommend for doing an OS-exclusive file lock for everything?
>
>
>


I'm not really sure. There's probably an API call you can make, but I'm not the guy to talk to about Windows API. Ed? George? you there?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform