programmatically create system dsn in vb.net

C

Chris Thunell

Is there any way to programmatically create an odbc system dsn in vb.net?
I have a bunch of DSNs that need to be created for SQL, Access, and
Timberline and i thought that it would make my life easier if i had a little
program that would run to create these DSNs instead of manually installing
them on each pc. I'm lazy - what can i say! :)

The ODBC drivers are already installed, i just need to create specific DSNs.

Any thoughts?
Chris Thunell
(e-mail address removed)
 
P

Paul Clement

¤ Is there any way to programmatically create an odbc system dsn in vb.net?
¤ I have a bunch of DSNs that need to be created for SQL, Access, and
¤ Timberline and i thought that it would make my life easier if i had a little
¤ program that would run to create these DSNs instead of manually installing
¤ them on each pc. I'm lazy - what can i say! :)
¤
¤ The ODBC drivers are already installed, i just need to create specific DSNs.

See the following thread:

http://makeashorterlink.com/?F2555184B


Paul
~~~~
Microsoft MVP (Visual Basic)
 
C

Chris Thunell

Anyone know how to do this with vb.net? This is a good example (below) but
was written for vb6.
 
L

Lucas Tam

Anyone know how to do this with vb.net? This is a good example
(below) but was written for vb6.

Uhhh... if you read it, I believe Paul Clement did the code conversion...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top