Results 1 to 3 of 3

Thread: Create/Remove System DSN VB6

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Location
    India
    Posts
    6

    Angry Create/Remove System DSN VB6

    hello reader ,


    Can you provide some help as to how can i create / remove
    a system dsn thru my VB6 application .
    As well how do i set the Nt pwd to
    "sa" at the moment it is "administrator"


    Thank you .

    Malik panchmatia.
    (India)

  2. #2

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Location
    India
    Posts
    6

    Talking test reply

    test reply test reply test reply

  3. #3
    Hyperactive Member
    Join Date
    Feb 2001
    Location
    Belgium/Antwerp
    Posts
    275
    I only know the code to make a dsn, not to remove it.

    In your VB project, place a reference to 'ODBC Driver & Datasource Name Functions'

    then place this code behind a button:

    dim a as dsn
    dim b as boolean

    b = a.CreateDSN("JetmailTONotes", "Lotus NotesSQL Driver (*.nsf)", Serv, DataB, "", "", "Koppeling naar Lotus Notes adresboek", True, "")

    Where you change the values of the arguments by yours.

    Greetz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width