aminur
October 12th, 2001, 10:44 AM
Hi I am creating a DSn by Java prograame
I have a Java file DSN.java where a fynction is written
createDSN(String driverType, String dsnName, String filePath)
I have all my .java files in D: Drive
and when i am giving filePath as
String fP = "\\folder1\\NameOfMyAccessfile.mdb"
it is trying to create DSN( name as dsnName ) by mapping it to file in C Drive but normally it should try to create DSN connecting the database in the root directory.(in my case it is D drive)
My JDk is in C drive
Please help me how to create DSN when the database is in the root directory?
Thanks
Regards
Md Aminur Rashid
Pune
I have a Java file DSN.java where a fynction is written
createDSN(String driverType, String dsnName, String filePath)
I have all my .java files in D: Drive
and when i am giving filePath as
String fP = "\\folder1\\NameOfMyAccessfile.mdb"
it is trying to create DSN( name as dsnName ) by mapping it to file in C Drive but normally it should try to create DSN connecting the database in the root directory.(in my case it is D drive)
My JDk is in C drive
Please help me how to create DSN when the database is in the root directory?
Thanks
Regards
Md Aminur Rashid
Pune