
creating ODBC connection programmatically
read this article
HOWTO: Configure ODBC Data Sources on the Fly
Last reviewed: July 31, 1997
Article ID: Q110507
http://support.microsoft.com/support/kb/articles/q110/5/70.asp
--
----------------------------------------
Rajesh Parikh
Microsoft Certified Solution Developer
----------------------------------------
Quote:
>I would like to know how to create a System DSN programatically in VC++
>5.0
>The program will serve only to create this connection on the machine I
>ship it to, the connection being to an Access MDB file - a small console
>app would be perfect.
>I also want to statically link the program.
>any info/code/point in the right direction would be a great help.
>thanks,
>John.