File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes ODBC names Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "ODBC names" Watch "ODBC names" New topic

ODBC names

Goran Stankovic

Joined: Feb 16, 2010
Posts: 4
Is there a way to read user or system Data Sources. (DSN)
These names are stored in registy HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI but I don't know how to read from it.
I found odbc.ini file in c:\windows\odbc.ini but I'm not realy sure is correct to read from it.
jQuery in Action, 2nd edition
subject: ODBC names
Similar Threads
abt path, classpath, and system DSN
List available data sources on a local & a network PC
Retrieving a List of All ODBC/JDBC Data Sources
JDBC Excel Metadata
ODBC DSN Programmically