Best/Proper Ways to Save Data/Settings

Knockz

Member
Joined
Mar 18, 2008
Messages
9
Programming Experience
Beginner
Hi

I'm trying to figure out the best/proper or even the recommended way to save data and settings for my programs in XP and in VISTA. If there are any recommended articles to read please send them along so I can look at them.

I want to save program options somewhere. Should I use XML, INI, my.settings namespace or even the registry? Is it recommended to use the settings common to all users or different for each user?

How about simple data (ex character data)? Should I use an XML file and serialization to save it?

What is the recommend place to save these files on both xp and vista? Should I save them in the program folders or in another place?

I'm just trying to sort this out before starting on my next little program. I know its usually up to the programmer but I'm looking for the recommended solutions to saving various data items so that your program is compatible with the two operating systems.
 
1. I would use the My.Settings
2. I use XML files for saving data (non-settings data)
3. the user's MyDocuments folder or the Application Data folder
 
Back
Top