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