Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the root registry key for the framework
Message
From
12/04/2002 11:58:02
 
 
To
11/04/2002 14:30:52
Chuck Berry
Copper State Bolt & Nut Co.
Phoenix, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00580644
Message ID:
00644362
Views:
28
Hi Chuck. For now we store everything in HKEY_LOCAL_MACHINE, because our users don't really care about individual settings in our software.

You can pass in the Root to cregistry (it defaults to HKEY_CURRENT_USER if it's not passed in). You would need to go to each place that calls cregistry.set() or cregistry.get() and pass it the Root that you are attempting to access.



>I am running into a similiar situation. I would like all of the "system-wide" settings to be stored in HKEY_LOCAL_MACHINE. For example, the database locations should stay the same for the computer as well as the memory settings. If another user logs in, these have to be set all over again if they are stored in HKEY_CURRENT_USER.
>
>On the other hand, I would like to store all of the user preferences in HKEY_CURRENT_USER (the framework default) including Window Positions.
>
>I do not see an "easy" way to do this since there is only 1 instance of oRegistrySettings. Has anyone tried to set it up this way?
>
>Thanks,
>
>Chuck
Previous
Reply
Map
View

Click here to load this message in the networking platform