registry vs ini

  • Thread starter Johannes Sametinger
  • 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
 
A

Anonymous

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top