The TextStream Object |
The TextStream object provides access to files stored on disk, and is used in conjunction with the FileSystemObject object.

AtEndOfLine |
| Property
Returns True if the file pointer is at the end of a line in the file. This property is only available for a file that is opened with iomode of ForReading. Referring to it otherwise causes an error to occur.

AtEndOfStream |
| Property
Returns True if the file pointer is at the end of the file. This property is only available for a file that is opened with iomode of ForReading. Referring to it otherwise causes an error to occur.

Column |
| Property
Returns the column number of the current character in the file starting from 1.

Line |
| Property
Returns the current line number in the file starting from 1.

Close() |
| Method
Closes an open file.

Read(numchars) |
| Method
Reads numchars characters from the file.

ReadAll() |
| Method
Reads the entire file as a single string.

ReadLine() |
| Method
Reads a line from the file as a string.

Skip(numchars) |
| Method
Skips and discards numchars characters when reading from the file.

SkipLine() |
| Method
Skips and discards the next line when reading from the file.

Write(string) |
| Method
Writes string to the file.

WriteLine(string) |
| Method
Writes string (optional) and a newline character to the file.

WriteBlankLines(n) |
| Method
Writes n newline characters to the file.