Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check to see if a file is open
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01223969
Message ID:
01223982
Vues:
16
In this particular app, I am stuck with VFP 6.0 due to the operating system requirement. I don't think that VFP 6.0 has Try/Catch, does it? I cannot upgrade the particular machine that this program will run on until I also upgrade the DOS Hand-Held Barcode Scanners to Windows Scanners.

>For a table forget about FOPEN, use try/catch as I suggested. Now, what if the file you're trying to append from is also opened by someone? Though AFAIK it should not give your a problem.

>Just wrap the whole code in try/catch.

>If you want to be able to retry, then it's a different story, need to think a bit more, but currently working on something else.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform