Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Registry.Vcx
Message
From
10/11/1999 10:14:09
 
 
To
10/11/1999 10:03:12
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00289509
Message ID:
00289571
Views:
36
>>>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform