programmatically create system dsn in vb.net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chris Thunell

    #1

    programmatically create system dsn in vb.net

    Is there any way to programmaticall y 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
    cthunell@pierce associates.com


  • Paul Clement

    #2
    Re: programmaticall y create system dsn in vb.net

    On Fri, 17 Jun 2005 11:03:24 -0400, "Chris Thunell" <cthunell@pierc eassociates.com > wrote:

    ¤ Is there any way to programmaticall y 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:




    Paul
    ~~~~
    Microsoft MVP (Visual Basic)

    Comment

    • Chris Thunell

      #3
      Re: programmaticall y create system dsn in vb.net

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

      "Paul Clement" <UseAdddressAtE ndofMessage@sws pectrum.com> wrote in message
      news:3l56b1dpg1 ps7f2q3j324hd7i rs2un8hd4@4ax.c om...[color=blue]
      > On Fri, 17 Jun 2005 11:03:24 -0400, "Chris Thunell"
      > <cthunell@pierc eassociates.com > wrote:
      >
      > ¤ Is there any way to programmaticall y 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)[/color]


      Comment

      • Lucas Tam

        #4
        Re: programmaticall y create system dsn in vb.net

        "Chris Thunell" <cthunell@pierc eassociates.com > wrote in
        news:egQq9w2cFH A.3488@tk2msftn gp13.phx.gbl:
        [color=blue]
        > Anyone know how to do this with vb.net? This is a good example
        > (below) but was written for vb6.[/color]

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

        --
        Lucas Tam (REMOVEnntp@rog ers.com)
        Please delete "REMOVE" from the e-mail address when replying.
        http://members.ebay.com/aboutme/coolspot18/

        Comment

        Working...