I am using a FileSystemObjec t to open a text file and the ReadLine
method to read the file line by line.
Set fs = CreateObject("S cripting.FileSy stemObject")
Set ReptFile = fs.OpenTextFile (file, 1, 0)
Reptln = ReptFile.ReadLi ne
My file has tabs delimiting some of the values. It appears (from the
debugger) that the tabs are being ignored, leaving me with a
non-delimited line of text.
Am I missing something here? I would like the tabs to remain and I
don't want to convert my file before reading it via VB.
Suggestions appreciated!
Wendy Powley
School of Computing
Queen's University
Kingston, ON
method to read the file line by line.
Set fs = CreateObject("S cripting.FileSy stemObject")
Set ReptFile = fs.OpenTextFile (file, 1, 0)
Reptln = ReptFile.ReadLi ne
My file has tabs delimiting some of the values. It appears (from the
debugger) that the tabs are being ignored, leaving me with a
non-delimited line of text.
Am I missing something here? I would like the tabs to remain and I
don't want to convert my file before reading it via VB.
Suggestions appreciated!
Wendy Powley
School of Computing
Queen's University
Kingston, ON
Comment