Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a simple way to access registry values?
Message
 
À
03/06/2003 13:12:44
Chris Laffoon
Florists' Interlink, Inc.
Paragould, Arkansas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00795792
Message ID:
00795798
Vues:
12
>I would like to store some settings as registry values, but I have not done this using VFP before. I am running VFP 8.
>
>Thanks,
>Chris

You might want to look at the registry.vcx class in the FFC folder. It does have some limitations, however, like it can only read and write strings. It wouldn't be a terribly difficult task to re-write it to handle all types.

The Windows Script Host's WScript.Shell has methods to both read and write to the registry, and doesn't have the above limitation, but is difficult to trap for errors.

Finally, I believe that you can find other registry read/write tools here in the download section or at Rick Strahl's web site. Additionally, Marcia Akins, Andy Kramek and Rick Schummer included code to do this in "MegaFox" from Hentzenwerke's.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform