File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Windows ODBC Data Source Names Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Reply locked New topic

Windows ODBC Data Source Names

sherif hathout

Joined: Nov 02, 2004
Posts: 18
Dear All,
I'd like to know the way of getting Windows ODBC Data Source Names for all the System DSNs that exist in the windows ODBC in the control panel.

My application concerned with getting all added DSN and after that I want to connect to the selected database.

So please advice and let me know the steps of java code that I need to implement this task.

Thanks for help and best regards

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32307

Please don't repost the same question.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Windows ODBC Data Source Names
It's not a secret anymore!