Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC Problem : How to get available DSN from ODBC32 ?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00133787
Message ID:
00133791
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform