Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to see if file can be used exclusive w/o causing err
Message
 
To
15/08/2000 13:06:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00405024
Message ID:
00405074
Views:
18
>Delete ?
>
handle=fcreate(lcFile)
Cetin

Actually my method is the FOPEN()/FCLOSE() pair, not FLOCK() - kind of similar, though.
nTry = FOPEN(cFile)
if nTry >= 0
  =FCLOSE(nTry)
  USE (cFile) in 0 EXCL
else
  * forget it
endif
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform