Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Read registry?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Read registry?
Miscellaneous
Thread ID:
00880860
Message ID:
00880860
Views:
54
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
Next
Reply
Map
View

Click here to load this message in the networking platform