I just started learning about the FileSystemObject and have a few questions.
What is the difference between using the FSO createtextfile and the Output method or the opentextfile and the Input method, I mean why use one over the other. eg
Just curious.PHP Code:dim OStream as TextStream
set OStream=fso.CreateTextFile("c:\testFile.txt",true,false)
OStream.WriteLine text1
or
file=freefile
strFile = "c:\testFile2.txt"
Open strFile For Output As #File
Print #File, text1
Close #File




Reply With Quote