Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2002
    Location
    French Polynesia
    Posts
    2

    Question Unanswered: Microsoft ADO Data Control 6.0 (SP4)

    Hello,
    Sorry for my poor english, i'm a frenchy

    The ADO DC control has the property "ConnectString". In the tool VB6, it has a value for an ACCESS2000 database in a directory of my computer. This directory is only for developpment.
    I want to change the connectstring at the begenning of the program.
    I have try without success ....
    Thanks for your help jpclerc@hotmail.com

  2. #2
    Join Date
    Feb 2002
    Posts
    2,232
    Where will you access database reside ?

  3. #3
    Join Date
    Sep 2002
    Location
    French Polynesia
    Posts
    2
    In c:\dev during my developpement.
    and in f:\MyAppli for the end uder

  4. #4
    Join Date
    Feb 2002
    Posts
    2,232
    Change your connectionstring property - you said you had a problem - what happened and please post the existing connectionstring that works and the connectionstring that failed.

  5. #5
    Join Date
    Sep 2002
    Posts
    2

    Question Re: Microsoft ADO Data Control 6.0 (SP4)

    Originally posted by jpclerc
    Hello,
    Sorry for my poor english, i'm a frenchy

    The ADO DC control has the property "ConnectString". In the tool VB6, it has a value for an ACCESS2000 database in a directory of my computer. This directory is only for developpment.
    I want to change the connectstring at the begenning of the program.
    I have try without success ....
    Thanks for your help jpclerc@hotmail.com
    Salut,

    essaie :

    ADODB.Connection.ConnectionString = "Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=" + DB-Alias

    Le DB-Alias ce touve dans le tnsnames.ora. Ce doit être modifié.

    et après:

    ADODB.Connection.open UserID:=strUSER, Password:=strPASS

    Bon chance.

Posting Permissions

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