Results 1 to 2 of 2

Thread: VB-6.0 with sybase-11.0 connectivity..urgent

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 1999
    Location
    Secunderabad, AP, INDIA
    Posts
    20
    Hi friends!
    please help me how can i connect Visualbasic-6.0 running on windowsNT to Sybase-11.0 running on linux server through ole-db provider as it is very urgent to our project.

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    There's no native OLEDB provider for Sybase database. If you have ODBC driver installed for Sybase System 11 then it is very easy to do it:

    Code:
    Dim cn As New ADODB.Connection
    Dim strConn As String
    
    strConn = "Driver={Sybase System 11};ServerName=MyServer;LogonID=MyLogon"
    cn.Open strConn, , "MyPassword"
    
    'Here do other stuff after you have connection opened.
    That's it.

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