JS: FSO ReadLine() method

Results 1 to 2 of 2

Thread: JS: FSO ReadLine() method

  1. #1
    Join Date
    Dec 1969

    Default JS: FSO ReadLine() method

    I want to read a line of a textstream object, process it, then move onto the next line using the ReadLine() method. The only problem is, I don't know how many lines the file will be, and I want to keep going all the way to the end. If I try to read a line past the end, an error is returned. How can I solve this.

  2. #2
    Join Date
    Dec 1969

    Default RE: JS: FSO ReadLine() method

    why not use the the File System Objects AtEndOfStream property?<BR><BR>while not(fso.AtEndOfStream)<BR>str = str & fso.readline<BR>wend<BR><BR>justin

Posting Permissions

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