Depending on who can access those configurations/settings/savings, I would suggest these options:
- local XML-file or similar format
file in the folder with the program
- local ASCII file, where each line
begins with a "label", then a
delimiter charcode like ":" and then
the value
- small SQLlite database,
a bit more SQL like, but much more
work to do
- the local registry on
the users PC
Different pros/cons
+very easy to edit (while developing), - bad for security as the user could tamper content easy, you have API support for reading XML, but format must follow XML
same as XML, but no API support, but its quite flat, so less parsing might be needed. Just read every line into a large array and overwrite file when saving
SQLlite is a bit more protected as it is a SQL database, but filebased, so this can only be opened by one program at a time. You cant share it between two programs at the same time.
Registry is accessable through API, but this is "hidden" inside windows, so if you move the program, you loose the settings unless you make some sort of "backup/transfer" option. Clever users might know how to open RegistryEditor and try to export and import them manually, but normal users will have trouble.
So... depending on your use and security level, you could choose from those above.
Lastly, if you have a webserver running and think these programs should access internet, its farely easy to build a webservice which will allow you to save and load from an internetaddress too. Problem arise when the user is offline. What settings will you use then.