They keywords should be documented in the help file of the ODBC Access
driver, but you can always create a DSN manually and then get the
keywords/values from the registry:
For system DSNs:
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI
At minimum, the DSN for access requires the DBQ=myAccessFile.mdb
keyword/value if I recall correctly.
Notice also that you can skip the creation of a DSN and use a DSN-less
connection, adding the "Driver={Microsoft Access Driver (*.mdb)"
keyword/value. Search the DSN-less concept in Google.
--
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
"Tull Clancey" <tu**********@btopenworld.com> escribió en el mensaje
news:dr**********@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com...
Hi all.
I've been searching all over the place for a bit of VB Net code that will
create a DSN for an Access database. I've found examples of creating
connections for SQL, but not Access.
Has anyone done this or acn anyone point me in the right direction?
Cheers,
Tull.