Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Read registry?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Read registry?
Divers
Thread ID:
00880860
Message ID:
00880860
Vues:
55
Hi everybody,

I want to read key values in the registry. I did it in VB and it worked great. However, when I used registry.prg from http://www.west-wind.com/files/registry.zip: The following function:

oRegistry.ReadRegistryString(HKEY_CURRENT_USER,;
"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders",;
"Personal")

Returned:
“%USERPROFILE%\My Documents”

It was supposed to return the real path to the “My Document” folder. How can I fix that? Are there any better functions for reading registry in VFP 6?

Thank you,
Ali
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform