| Author |
Getting Windows ODBC Data Source Names
|
sherif hathout
Greenhorn
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 Sherif
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26184
|
|
Sherif, I think you would have to make a Runtime.exec() call to the operating system to do it.
|
[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
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26184
|
|
|
Do you know how to do this in Windows? (forgetting about Java for the moment)
|
 |
 |
|
|
subject: Getting Windows ODBC Data Source Names
|
|
|