Hello everyone. I have a small problem. I have a Streamwriter writing things to a file. But when i write more than one thing, the previous item gets overwritten. I.E. Write 1111, Write 2222. 1111 gets replaced by 2222.

Here is some of my code:

Dim fileOut As New IO.StreamWriter(fileName)

        fileOut.WriteLine(userId)

        fileOut.Close()

userId is a String

  • No Related Post