Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Registry.vcx in FFC
Message
From
27/12/1999 20:28:41
 
 
To
27/12/1999 20:13:27
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00309030
Message ID:
00309033
Views:
36
>I'm trying to use the OdbcReg class in the Registry lib in the FFC. I'm running on '98, if that makes a difference in this case (Soon to be NT/WS).
>
>I tried the few lines of sample code in Advanced OOP, but that didn't update the array. I followed thru the code and the OdbcReg.EnumODBCData() function passes HKEY_CURRENT_USER TO THE OpenKey function in the Registry parent class.
>
>I believe the problem is that all my registry settings are under HKEY_LOCAL_MACHINE. I verified what appears to be a problem with the class by modifying the class and re-running the code.
>
>Am I correct in my analysis? Or is there a better way to read the system's ODBC settings?
>

It may be that it's platform-dependent - I have all kinds of ODBC stuff on NT under HKEY_CURRENT_USER\Software\ODBC under NT, and this makes sense. I'd have guessed that it might be OS platform dependent except that the same key hierarchy exists on my Win98 box, too.
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
Next
Reply
Map
View

Click here to load this message in the networking platform