Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API or Registry
Message
From
11/10/2002 13:42:57
 
 
To
11/10/2002 13:36:39
Steve Summers
Pima County Superior Court
Tucson, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00710448
Message ID:
00710451
Views:
13
>I need to fill a combobox with the system DSN's. I can use a win32 API or walk the registry. Anyone have any advice on this? Not sure what API to use to do this but I do see the values in HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\

...and the API will walk the registry...

the only concern is that it will not pick up User DSNs this way - there are separate API calls defined for each type of DSN, which correspond to different locations in the registry.
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