Is it possible to store the value of a variable? For example the value of a string variable:

strImgFile

containing a file destination, that is saved along with the program, so that the next time the user runs it, the value of the variable

strImgFile

is restored.

Recommended Answers

If you are using vb 2005 then use My.Settings.
See this:
http://www.codeproject.com/vb/net/appsettings2005.asp

Jump to Post

All 2 Replies

Hi there, I know that my.settings is a common method to save some values, what about saving values without using my.settings, not in a database eaither, any ideas

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.