Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

file locking

3 views
Skip to first unread message

Andy

unread,
Feb 4, 2008, 7:09:41 AM2/4/08
to
I have a process that opens a file using,

Open myLockFile For Binary Access Write Lock Write As #1

I have another process that attempts to open the same file for read
using,

Open myLockFile For Binary Access Read As #2

This fails with permission denied. I have tried a shared lock for the
read, but nothing seems to work. Am I missing something here. The VB
documentation seems to imply i should be able to open for read a file
another process has open for write.

Thanks

0 new messages