|
-
Oct 8th, 2008, 06:32 PM
#1
Thread Starter
Lively Member
FSO Exclusive Use
Is there anyway to apply a Read Lock or an Exclusive Use condition to a file opened with FSO?
The way I am thinking is via opening it for write... but that could cause conflicts with what I am doing... and trying to resolve.
Thanks!
Last edited by realbogus; Oct 9th, 2008 at 12:11 PM.
-
Oct 8th, 2008, 07:23 PM
#2
Re: FSO Exclusive Use
Kind of a dinosaur myself, don't use FSO, prefer API or good ol' VB. Anyway, I read a statement that basically said that FSO automatically locks the file until one uses a file .Close statement. The thing to remember is to not open the file ForReading. Use ForAppending or ForWriting.
-
Oct 9th, 2008, 12:09 PM
#3
Thread Starter
Lively Member
Re: FSO Exclusive Use
Ok... that makes some sense... but I have found a buggy that might just be the culpret. Now all I need to do is make sense of it. Off to create another topic...
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|