Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check to see if a file is open
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01223969
Message ID:
01223982
Views:
21
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform