Results 1 to 2 of 2

Thread: HELP --FSO

  1. #1
    Join Date
    Dec 1969

    Default HELP --FSO

    How can i check if file is already open in<BR>FileSystemObject<BR><BR>AP.

  2. #2
    Join Date
    Dec 1969

    Default Please stick to your thread...

    However, there is no locking with the FileSystemObject. If you are experiencing a 434 error, then simply test for it.<BR><BR>On Error Resume Next<BR>Set objFile = objFSO.OpenTextFile("log.txt", ForAppending)<BR>if Err.Number = 434 then<BR> &#039; Handle the error somehow - loop back around and try again, or something<BR>end if<BR><BR>Craig.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts