...

View Full Version : Fso Eof



suendisra
05-15-2005, 05:06 PM
I was wondering if somebody could help me with this: I was wondering if there was a way to find the EOF, or test it so you don't use SkipLine() incorrectly; meaning you don't SkipLine() over a line you don't have.

Any help will be appreciated.

Suendisra :cool:

enumerator
05-15-2005, 11:03 PM
AtEndOfStream property...


while(!myTextStream.AtEndOfStream)
myTextStream.SkipLine();

WScript.Echo(myTextStream.Line); // line count



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum