Hello Satya,
In this case, You might want to right a small prg which go throug registry and find out the available DSN in ODBC.INI.
There are defined in \HKEY_CURRENT_USER\SoftWare\ODBC\
HTH
Bye
Jayesh
>I want to display all the available DSN's in a list box,
>as ,when the command SQLCONNECT() is issued without any parameters.
>
>The API functions are available in C:\windows\system\odbc32.dll
>
>I do not know which functions I have to use and how I have to use to get all available DSNs.
>
>Any help will be of great help.
- Jayesh