I use a text file to store the settings from my program.
Now when i save the settings the text file gets created and everything works correctly. I can load the settings without any error.

Now when i quit my program and star it up again clicking the load button will clear out any data in my text file. So the file still exist but it empty.

It happens when my program runs this line of code.

Code:
Dim o_read As system.IO.streamReader = system.IO.File.OpenText("C:\test.txt")
That just tells o_read that it is a stream reader and which file to read.
How does my file get cleared out by that?
Does anyone know what is going on?