Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the root registry key for the framework
Message
From
12/11/2001 17:03:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Changing the root registry key for the framework
Miscellaneous
Thread ID:
00580644
Message ID:
00580644
Views:
45
I went about to change where the framework looks for registry keys. The default is HKEY_CURRENT_USER. I tried changing the application property “cregistrykey” to HKEY_LOCAL_MACHINE. That didn’t seem to work. So I put in -2147483646. That didn’t work either. I found the code in cregistry.init() that sets the mainkey. If tnMainKey is not passed in, it defaults to HKEY_CURRENT_USER. I changed that and it fixed part of my problem. But the preference form is still storing it’s values to HKEY_CURRENT_USER. Anyone know where the code that the preference form uses to pass tnMainKey into cRegistry.init() ?
Next
Reply
Map
View

Click here to load this message in the networking platform