registry vs ini

  • Thread starter Thread starter Johannes Sametinger
  • Start date Start date
J

Johannes Sametinger

I have developed an application with about 20 properties that I store in the
registry. Now I want to add additional items, i.e., about 10 to 50 or maybe
100 items depending on the user. Each item consistes of 2 to 5 properties.
The question is: should I store this information in the registry or rather
store it in an external file, and if so, in which location?
If the answer is to use an external file: Is it better to store all the
properties in this file, or should I store the properties in the registry
and the items in the external file. Or is it okay, to store all this
information in the registry?
Thanks for any help,
Sam
 
I have developed an application with about 20 properties that I store in the
registry. Now I want to add additional items, i.e., about 10 to 50 or maybe
100 items depending on the user. Each item consistes of 2 to 5 properties.
The question is: should I store this information in the registry or rather
store it in an external file, and if so, in which location?
If the answer is to use an external file: Is it better to store all the
properties in this file, or should I store the properties in the registry
and the items in the external file. Or is it okay, to store all this
information in the registry?
Thanks for any help,
Sam

Just a personal opinion: I'd store all settings in an .ini file in the
installation folder and try to make the program a no-install (just
unzip the folder, double click the exe, and everything runs). That way,
your client(s) can copy the program to a USB drive and take it to
another computer with no problem.
 
Back
Top