Results 1 to 2 of 2

Thread: StreamWriter

  1. #1
    Join Date
    Dec 1969

    Default StreamWriter

    has anyone messed with the Streamwriter object of 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("&#060;TREENODES&#062 ;")<BR>fStream.WriteLine("&#060;/TREENODES&#062;")<BR>fStream.Flush()<BR>fStream.Cl ose()<BR><BR>this doesn&#039;t produce anything besides creating the file

  2. #2
    Join Date
    Dec 1969

    Default RE: StreamWriter

    It 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts