Keeping program settings

trisolve

Member
Joined
Nov 30, 2003
Messages
11
I am writing a complex database program with lots of user customizable settings. Most of them are menus. What is the best way to save the settings? File/Registry or other? Please if you can give me an code example that would be great. Thanks!

trisolve
 
It depends on how many lots is. The registry can be expensive to access for lots of items, so its probably best to use your database to hold these menus.
 
if you dont want to use the database you can try using some XML to hold these settings and everytime the app starts you can load the settings stored in the XML file
 
I was an avid user of the registry until I got my head around xml. Now I save all app settings in xml files
 
Back
Top