how to access a database resource in a lan?
Hey guys how to I have learned how to connect to a database without creating dsn.But now I got a new problem.what is the syntax of connection string to connect to a msaccess database kept somewhere in a lan.The jdbc is understanding any local path specified, but it does not know to read the database file from the lan.we use the following syntax for connecting to a local database-
path="D:\\vpndb.mdb"; // path of local database file
Connection con=DriverManager.getConnection("jdbc:odbc:Driver=
{Microsoft Access Driver(*.mdb)};DBQ="+path);
This works pretty well.But what should be the path when I have to connect to a database kept in another machine in a lan.Please, answer me as soon as possible.

