C Cabose Active member Joined Oct 18, 2006 Messages 39 Programming Experience Beginner Nov 26, 2006 #1 Is there a way to write to a file without overwriting everything that is already in the file?~Cabose
Raven65 Well-known member Joined Oct 4, 2006 Messages 305 Programming Experience 3-5 Nov 26, 2006 #2 Definitly. Your looking to append. Check this MSDN article for details: How to: Open and Append to a Log File Upvote 0 Downvote
Definitly. Your looking to append. Check this MSDN article for details: How to: Open and Append to a Log File
C Cabose Active member Joined Oct 18, 2006 Messages 39 Programming Experience Beginner Nov 26, 2006 #3 Thanks much Upvote 0 Downvote
JuggaloBrotha VB.NET Forum Moderator Staff member Joined Jun 3, 2004 Messages 4,530 Location Lansing, MI; USA Programming Experience 10+ Nov 27, 2006 #4 when declaring the StreamWriter (or TextWriter) simply add a comma and type in 'True' to specify that you'll be appending to the file, not overwriting Upvote 0 Downvote
when declaring the StreamWriter (or TextWriter) simply add a comma and type in 'True' to specify that you'll be appending to the file, not overwriting