>>>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.asphas it, but you'll need to convert it to 'VFP language'
Dr. Ken A. McGinnis
Healthcare software design