Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API or Registry
Message
 
To
11/10/2002 14:13:01
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:
00710554
Views:
9
>>>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.
>
>Thanks for you response. I just downloaded the ODBC API for VFP from the UT. I'm not seeing the API's you are referring too. MSDN indicates that the SQLDataSources function should be used? Could you point me in the right direction? Thanks.
*******************
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcsqldatasources.asp

has it, but you'll need to convert it to 'VFP language'
Dr. Ken A. McGinnis
Healthcare software design
Previous
Reply
Map
View

Click here to load this message in the networking platform