Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to handle additional registry settings
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00388835
Message ID:
00389159
Views:
15
OK let me try to explain this again, but I think I must be treading new water here.

The framework seems to give us the ability Get/Set registry settings via cregistry class (which inherits much from csystemsettings). GoApp has the same GetSetting() and SetSetting() methods which is our wrapper for the cregistry functionality in 32-bit environment.

The preferenceform class makes use of cpreference based controls to read/write registry settings. cpreference in turn bangs the goApp wrapper methods.

That's all fine and dandy IF the registry settings in question already exist. I want to add about a dozen EXTRA registry settings for my app, over & above the registry settings Kevin's user preference form has ready-made for us.

Ideally, I would like to create my list of additional registry keys right after the usual user pref related registry entries are created. This is my original problem - I Cant Find Where those Registry Entries are first created. Any ideas?

After digging for this for the better half of the day with no luck, I decided "ok who cares where the original ones are created". I thought I would just do it in a prg and call it from goApp when the app starts for the time being and then use that prg in the install process later. I was thinking here I could just check and see if my extra registry entries exist, and if not then create them. Busted - 2nd Problem - it's not that easy since the functionality I need to do this is not natively exposed in the cregistry class. (cutils classlib) Specifically - OpenKey(), CloseKey(), and CreateKey() are protected methods despite the DevGuide document saying thier public. < sigh >

So fall back and punt - Has anyone created their own app-specific registry keys in a MMF app? If so, where did you handle it and did you use cregistry or bag it and roll your own?
Roxanne M. Seibert
Independent Consultant, VFP MCP

Code Monkey Like Fritos
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform