Re: Which registry key to use?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thank you.
I have thought about that.
Can I use Environ function to point to:
c:\Documents and Settings\All Users\Application Data?
When I use Environ("appdata") it points to current user.
Jack

"Bob Butler" <tiredofit@xxxxxxxxxxx> wrote in message
news:%235KvM7TBHHA.1012@xxxxxxxxxxxxxxxxxxxxxxx
"Jack" <notreplyto@it> wrote in message
news:uwGnCuTBHHA.3836@xxxxxxxxxxxxxxxxxxxx
Hello,
My app stores preferences in HKEY_CURRENT_USER.
This works fine for one particular user.
Now, I would like to make the preference available for all users.
Which registry key should I use?
HKEY_USERS or HKEY_LOCAL_MACHINE?
It must be accessible all the time by all users not only
administrator. Your thoughts please,

Use an INI file or other external storage for app settings; the registry
is
the wrong place despite MS pushing it in the past.

--
Reply to the group so all can participate
VB.Net: "Fool me once..."



.