Good Day
Experts:
I have a VB.net program here that I am trying to use a Streamwriter to create a log file.
The first time I grab the file and write out the line of data it works great...as designed.
Well, then I when the process runs again, I want to append to that file.
Unfortunately, it is not appending it is clearing and putting the new line in it.
I suspect it could be in my declaration --> Dim SW As New IO.StreamWriter(ResourcePa
thLog)
How do I do this so the StreamWriter knows to append to that file(ResourcePathLog)?
Please ask questions if my explanation is not good.
Thanks for the help,
jimbo99999
Start Free Trial