Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.ini files
Message
 
 
À
27/10/1998 20:10:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00150938
Message ID:
00151698
Vues:
18
>>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
Fil
Voir

Click here to load this message in the networking platform