Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening INI files along with the EXE one
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00208396
Message ID:
00208532
Vues:
19
>It boiuls down to your personal philosophy of things. MS's intent was to at least keep station-specific and user-specific information in various registry keys; since it isn't in a text file form, it's easy to put widely variable data types in, and the hierarchical reference system is easy to work with IMO. Some people don't like the registry; there's nothing inherently wrong with using INI files or configuration databases (and I do both at times) to store configuration data. In many cases, I'll put a reference to the desired configuration database in the user's HKEY_CURRENT_USER hierarchy, and machine-specific configuration detail in another key somewhere in HKEY_LOCAL_MACHINE.
>
>It's your app, so its your choice.

An added note: I usually use the "table" method for app configuration/preference storage, but I finally got around to trying to use the registry. And guess what? They're all locked up by LAN, only a couple high-level central administrators have registry write access from Control Panel or with Regedit.

Now installing apps use code (API?) which allows registry writes, obviously (or the registry would not be working). But once I realized that some LANs may be quite "secure" about registry access, I gave the idea up. This is under Win95, and we're soon moving to all-NT, where they will be even tighter about security. Does this make sense, have you ever heard of this?
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform