Creating DSN data sources
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   James_Sobeck
Posted On:   Monday, April 2, 2001 01:34 PM

Are you able to create a DSN data source on a Windows machine using Java?

Re: Creating DSN data sources

Posted By:   Naveed_Azhar  
Posted On:   Thursday, August 2, 2001 10:54 PM

Hello there!!

I am not an expert but I am 100% sure that you can do it by using Runtime.exe() function and passing command like
ODBCCONF CONFIGSYSDSN "Microsoft Access Driver
(*.mdb)" DSN=DSNiQuic;DBQ=\SERVERNAMEDBShareNAmeDatabasefile.MDB; @Res.txt

Please get help of ODBCCONF by typing C:WINNTODBCCONF.exe on command prompt.
I sincerely hope it will help you.

Naveed Azhar

naveed@hotmail.com
About | Sitemap | Contact