Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Switching from Registry to INI.- MM 7 for VFP
Message
From
06/02/2004 14:35:00
 
 
To
06/02/2004 09:16:34
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00874801
Message ID:
00874956
Views:
12
Hi Juan,

Since nobody else has jumped in... I had similar problems when I tried using an INI file. I decided that it was easier to just use the registry. I spent quite a bit of time trying to get it to work. So I guess my advice here would be that, unless someone else jumps in with a solution, try to use the registry if you can.

Good luck,

David

>Hello,
>
>Good morning, I just wanted to switch from storing the system settings (DBC mainly) in the registry to an INI file (this is MM VFP 7).
>Changed application object’s lUseIniFile property and the program now creates the ini files.
>
>Now everytime that I either open the applicacion or the users preference form, the value for the DBC location changes to the curdir()+"data\" , since the data is not there, the application bombs.
>
>It seems like the preferenceform ....oLocalDataDirectory.cpreferencevalue property default value is taking over (=FULLPATH(CURDIR()) + 'DATA\').
>
>This should be easy, shouldn't it?
>
>Thanks.
Previous
Reply
Map
View

Click here to load this message in the networking platform