I have this in my code:

Code:
Open "C:\02.dat" For Append As #1
Write #1, txtuser.Text, txtpass.Text
Close #1
now if someone runs the program

it saves to that file

now if someone runs the program again, it adds to the file


how do I make it so that if the person opened the program the second time, it would replace what was already there, instead of add to it?