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