FSO is a much better way of handling text files with VB. In order to use FSO, add the Microsoft Scripting Runtime to your project's references then define a variables for the FSO object and TextStream objects:
Public fso As New FileSystemObject, fsoTS As TextStream
You may use your object browser to see all the available properties of the FSO object.
Karriem A. Shabazz
4MF Software Solutions