You can use OLE/COM to read from a text stream:

Have a look here and here. The second post shows accessing the FileSystemObject to write to a file. Later I will post some more COM code.

cj