Good Morning,
I've included the MS Scripting Runtime project reference
and yet i get "Object doesn't support this property or method: 'atEndOfStream'" error.
I did notice that that particular method wasn't included in the intelli-sense list.
Does anyone know what i need to do?
<%
dim fs,fileName,data,ts
fileName="c:\Book25.csv"
set ts = server.CreateObject("Scripting.FileSystemObject"
set fs = ts.OpenTextFile(fileName,ForReading)
do while(not ts.atEndOfStream)
Response.Write ts.line & ":" & ts.readLine() & "<br>"
loop
ts.Close
%>
Thanks,
Mark
I've included the MS Scripting Runtime project reference
and yet i get "Object doesn't support this property or method: 'atEndOfStream'" error.
I did notice that that particular method wasn't included in the intelli-sense list.
Does anyone know what i need to do?
<%
dim fs,fileName,data,ts
fileName="c:\Book25.csv"
set ts = server.CreateObject("Scripting.FileSystemObject"
set fs = ts.OpenTextFile(fileName,ForReading)
do while(not ts.atEndOfStream)
Response.Write ts.line & ":" & ts.readLine() & "<br>"
loop
ts.Close
%>
Thanks,
Mark