>>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement