CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2002
    Location
    Colombo,Sri Lanka
    Posts
    1,110

    VB ADO Connecting

    Is there any body know to get the Connecting string of Sysbase and DB2 databases

  2. #2
    Join Date
    Apr 2002
    Location
    Los Angeles, Ca
    Posts
    238
    dinesh ...
    Look here
    http://www.connectionstrings.com/

    or here, it looks like they have OLE DB Data provider connections for DB2/
    http://www.able-consulting.com/ADO_Conn.htm

    HTH
    Michael

  3. #3
    Join Date
    Apr 2002
    Location
    Melbourne, Victoria, Australia
    Posts
    1,792
    We didn't do a search here before asking this question...did we?

    search on sybase + connection

    First post that comes up has one there

    Code:
    conSybase1.ConnectionString = "Provider=MSDASQL.1;Persist Security Info=False;Extended Properties=" & _
                        Chr(34) & "DRIVER=" & gsDB_Driver & _
                        ";UID=" & gsUser & _
                        ";DB=" & gsDatabase & _
                        ";SRVR=" & gsServer & _
                        ";PWD=" & gsPassword & Chr(34)
    conSybase1.Open
    Be nice to Harley riders...

  4. #4
    Join Date
    May 2002
    Location
    Colombo,Sri Lanka
    Posts
    1,110
    Thankx and
    it is a nice site really

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

Featured