This blog is a depository for things I have found regarding VB.NET and C#.NET development (and other things I may need to remember). This blog is primarily for my own reference, but if the information I found is useful to others, then that is great. If others want to contribute with comments or other information, then that is great too.
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.