Thursday, February 12, 2009

Appending a File with StreamWriter

The StreamWriter class has an Append flag that can be set to append to the file:


Dim outfile As New StreamWriter(filename, True)


The are other overloaded versions with the append flag as well.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.