Sign the database in odbc

K

kobzarev

Hello ALL.

I write program, using MS Acess Database with odbc:jdbc
.............................................................................................
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
consq = DriverManager.getConnection("jdbc:eek:dbc:MS Access");
smt = consq.createStatement();
.............................................................................................
But it begin work only after signing in (WinXP) ControlPanel ->
Administrator -> ODBC -> I sign the path to my database and sign the name of
database (E:\WordGame\ADB.mdb).
How can I automatically sign it? I don't want to do this every time I run it
on another computer.
________________________
Kobzarev_Ivan
(e-mail address removed)
 
K

kobzarev

ODBC...And in ODNC I sign for the Acess Driver the Path and name of my
database
 
H

Hal Rosser

To be able to move the application to another computer, you should look at
"DSN-LESS" connections to the database. Its the best way to go.
(I heard you could make a File dsn, then open it in a text editor and use
that info to make your DSN-less connection.)
Try googling with 'dsn-less' and java.
That way you do not need a DSN.

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top