General information
Category:
Coding, syntax & commands
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?
>This does not reliably work. The only reliable way to tell if a file is open exclusively is to try to USE it exclusively and then trap the error.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only