Save a word in my application?

DevilAkuma

Active member
Joined
Oct 24, 2005
Messages
37
Programming Experience
Beginner
Hello!

I need to save a little string in my application. But this change is needed to be keeped (I can't loose this string when the user close the application) I've thought to use an external file (.TXT or something like this) but it's not very elegant, and I think that there's better ways to do it... Anyone knows one?

Thanks in advance.
 
Your application can't remember anything itself between sessions. Anything that you want to persist, i.e. save between sessions, must be saved to some external location. This might be a text file, the registry, an XML file (the .NET preference), a database or some other place. You should also take note that if someone with a limited access account is using your app they will not have permission to write to the application's folder under Program Files.
 
Back
Top