>>>I am trying to read ODBC information from the registry (specifically I'm trying to obtain the SourceDB) using the Registry.Vcx in VFP6.
>>>However I'm not havy much luck - can anyone help?
>>
>>I found the VFP Registry class to be confusing and hard to use. I use Rick Strahl's free registry class to do this. He includes plenty of comments in the class. See
free utilities>>
>I've made a bit more progress since I posted the original question. I now can read in a value but only from the HKEY_CURRENT_USER. Do you know if there is anyway to change the root that it's pointing at?
Yes, but before you do, have you tried the ODBCREG class in the same FFC REGISTRY.VCX? It uses the base registry class, and there's practical code in the class that demonstrates how it goes after information in other parts of the registry, specifically ODBC-related detail.