Re: What are the TextStream Object in ASP?
You can also create the TextStream Object using the OpenAsTextStream Method of file object. You can check the example for looking it :
Code:
<%
dim strpathinfo,strphysicalpath
strvirtualpath=request.servervariables("Path_details")
strphysicalpath=server.mapPath(strvirtualpath)
dim objFSO,objFile,objTextStream
set objFSO=createobject("scripting.filesystemobject")
set objFile=objFSO.getfile(strphysicalpath)
Set objTextStream = objFile.OpenAsTextStream(Forreading,TrisatteUseDefault)
%>
I do to dead flowers what people at morgues do to dead people. Suck all the moisture out, dip them in plastic, paint them up pretty and put them in a nice frame.
Bookmarks