Exactly...
"Joseph M. Newcomer" <newcomer@flounder.com> wrote in message
I wouldn't store document data in the Registry either, but I definitely
store user
settings in the Registry. And, as you point out, there is nothing
particularly critical
there; color preferences, options for certain defaults, previous window
layout, font
selection, and things like that (which are not per-documented). But if
the program is
moved to another machine, there is no particular inconvenience. The
program keeps
working, but the colors may not be what the user had on the original
machine (which also
raises the issue about why they might be using licensed software on a
different machine
without paying for the license...)
joe
On Thu, 18 Sep 2008 18:45:07 -0700, "Tom Serface"
<tom.nospam@camaswood.com> wrote:
I agree. I only use the registry to store user overrides to program
settings so my application could easily rebuild itself on any other system
where it's run. I would never store anything that looks like document
data
in the registry. Of course, that's just my religion.
Tom
"David Ching" <dc@remove-this.dcsoft.com> wrote in message
news:m1CAk.958$yr3.223@nlpi068.nbdc.sbc.com...
I'm biased against using the registry to store app data because I favor
being able to quickly move the data with the app (if the app is on a USB
stick, and I want to take it with me). Also even though app data is in
a
separate hive than system data, there is something unclean about putting
my app data long with the system info such as what PID/VID is the disk
drive.
For real world concerns, registry fragmentation seriously slows down
reading of a lot of values. Maybe MS fixed that in 2K/XP/Vista, but in
Win9x, I got complaints that my app took 2 minutes to appear when all it
was doing was reading a couple hundred registry strings. I got the
message and moved to a text file, and the complaints disappeared.
When Win95 came out with the registry, I thought MS was going backwards.
I still think they were.
-- David
Joseph M. Newcomer [MVP]
email: newcomer@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm