This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 10167
    
    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: 41040
    
  43
Yes, that's possible; the http://faq.javaranch.com/java/OdbcJdbcQuestions page shows how.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: connect to MS Access database file without making a dsn?
 
Similar Threads
How to build DSN on the fly for MS Access database JDBC access?
MS Access with DSN
JDBC with MSsql server without DSN
Creating dsn files
DSN less MS access Connection using JSP - help needed