i have a list of accounts in a txt file that goes like this:
username
password
username
password
...and so on.
if a user makes a new account, i want it to append to the end of the file.
here is the code:
VB Code:
Dim sw As StreamWriter = New StreamWriter("users.txt") sw.Write(name) sw.Write(pass) sw.Close()
but the text only erases my file and writes the name and pass




Reply With Quote