Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.ini files
Message
From
29/10/1998 08:11:07
 
 
To
28/10/1998 23:39:02
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00150938
Message ID:
00152209
Views:
29
>>>>I've got some information that I'd like to store for my app, and I'm trying to decide how best to do it.
>>>>
>>>>I was thinking of making a table, but the table would only be one record with a lot of fields. That seems kind of silly.
>>>>
>>>>A lot of apps use .ini files to store configuration information. Is there anything special about them, or are they just text files? How would you know where in the file to change something? I don't know anything about manipulating text files with VFP.
>>>>
>>>>Or is there another option?
>>>>
>>>>Thanks,
>>>>
>>>>-Michelle
>>>
>>>INI files are supported for backward compatability. The registry is the proper place to store this information.
>>
>>For the system info, I think a 2 field table would work good. For user preferences, the registry wouldn't work, so I may use .ini's for that.
>>
>>Thanks,
>>
>>-Michelle
>
>
>Whoa...that's exactly one thing the registry is used for. I save user preferences there all the time. INI files are no longer recommended.

Ok, I'm confused. I thought the registry was local to the computer? If I put user settings there, how do I access it from a different computer? Do I put it in the registry on the server?

-Michelle
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform