How to check if file is locked
Posted on 2002-05-28
Can anyone tell me how to check if a file is locked by an application for write access and how to check which user locked it? Excel does this. If you try to open a file already opened, it will tell you that the file is "locked for editing" by "...".
All I can do right now is to try to open the file and trap error number 70, "Permission denied".