What si the best way to store a variable value between program shutdowns

  • Thread starter Thread starter James L
  • Start date Start date
J

James L

I need to store a user entered value such that I still have it after
shutting down the program and running it again. In my old eVb version
I stored the value in a text file and just read it out again on startup
of the program. Is there a better way in VB.NET?

James
 
There is no 'best'. Registry, XML file, plain binary or text file all come
to mind, probably in that order.

Paul T.
 
Then I guess in the category of "If it aint broke don't fix it" i will stay
with the text file since I have that all worked out and funcitonal already
anyhow.

James
 
Back
Top