Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with listing ODBC System DSN's 1

Status
Not open for further replies.

linuxjr

Programmer
Jun 2, 2001
135
US
I am now working on a Login Prompt form that has username/password already working. I need to add one more feature which is to list the System DSN's in a drop down listbox. We have several users that work with different project databases so I want to give them a way to switch between different DSN's. Is this possible? If so any tips or links to get started will be appreciated. Have a nice day.
 
If you dont mind diving the registry it can be read from

HKLM -> SOftware->ODBC -> ODBC.INI ->ODBC Data Sources

(at least on W2K)

 
I do not mind diving in the Registry but I need for the function to work on either w2k and xp. Thanks for the registry key. I will start there and work my way around. Have a nice day.
 
NoCoolHandle,
You the Man for checking for me. Have a great weekend.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top