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!
:afrog:
Printable View
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!
:afrog:
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.
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!