StreamWriter

doncaster

New Member
has anyone messed with the Streamwriter object of asp.net? what am i doing wrong?<BR><BR>File.Create("c:inetpubwwwroot1" & sUID & ".txt")<BR>Dim fStream As StreamWriter = File.AppendText"c:inetpubwwwroot" & sUID & ".xml")<BR>fStream.WriteLine("<TREENODES>")<BR>fStream.WriteLine("</TREENODES>")<BR>fStream.Flush()<BR>fStream.Close()<BR><BR>this doesn't produce anything besides creating the fileIt looks like your file names are different. Unless you are trying to append to a different file than the one that you are initialy creating.
 
Back
Top