I am trying to write to a text file in a certain location
Code:
Dim W As New System.IO.StreamWriter("C:\saves.txt")
        W.Write(whatever data I want written
         more data)
        W.Close()
but every time it throws me an error. ('Access to the path 'C:\saves.txt' is denied.')
I don't want to use admin settings for this. Also I don't want to save the text file in the same place as the executable.
It works if it saves in the same place as the executable and all the data is written. If I try saving it under the ("users/public") folder, only a little bit of the data that I want written is there, not all the data.