The TextStream object is used to access the contents of a text file.
The TextStream object is used to access the contents of text files.
The Below code creates a text file (c:\test.txt) and then writes some text to the file (the
variable f is an instance of the TextStream object):
To create an instance of the TextStream object you can use the CreateTextFile or OpenTextFile
methods of the FileSystemObject object, or you can use the OpenAsTextStream method of the File
The TextStream object's properties and methods are described below:
Your Query was successfully sent!