aspose file tools*
The moose likes JDBC and the fly likes connect to MS Access database file without making a dsn? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "connect to MS Access database file without making a dsn?" Watch "connect to MS Access database file without making a dsn?" New topic
Author

connect to MS Access database file without making a dsn?

ayyappan Bas
Ranch Hand

Joined: Oct 11, 2008
Posts: 39
Is it possible to connect directly to a MS Access database file without having to make a dsn in your system pointing to the ms access database?

I need to include with my application the java program and the database file and it just work without the user having to set up anything.


Thanks


Thanks & Regards
Ayyappan
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

Please do take efforts to carefully choose a proper forum
This is the Meaningless Drivel forum. Moving.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42289
    
  64
Yes, that's possible; the http://faq.javaranch.com/java/OdbcJdbcQuestions page shows how.


Ping & DNS - my free Android networking tools app
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: connect to MS Access database file without making a dsn?