Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2002
    Posts
    2

    Exclamation Unanswered: Connecting to ASE using ADO

    How can I connect to ASE 12.5 through ADO in VC++. I just want to know the connection string with out using DSN.

  2. #2
    Join Date
    Feb 2002
    Location
    Willy is on vacation
    Posts
    1,208
    Hiya nagasekhar,

    This is using OLE DB Provider for ASE

    oConn.Open "Provider=Sybase.ASEOLEDBProvider;" & _
    "Srvr=myASEServer,4100;" & _
    "Catalog=myDBName;" & _
    "User Id=myUserName;" & _
    "Password=myUserPassword"

    Cheers
    Willy

  3. #3
    Join Date
    Dec 2002
    Posts
    2

    Thank you

    Dear Willy,
    Thank you. It worked. Thank you for your timely help.

Posting Permissions

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