vb能连informix数据库吗?怎么连?

解决方案 »

  1.   

    '工程->引用->Microsoft ActiveX Data Objects 2.0 Library (后面为版本号)
    Dim rs As New ADODB.Recordset, cn As New ADODB.ConnectionPrivate Sub Form_Load()
        cn.ConnectionString = ""
        cn.Open
        '查询字符串可以上这里查
        'http://www.connectionstrings.com/
    End Sub
      

  2.   

    Informix 
     ODBC 
     Informix 3.30:"Dsn='';Driver={INFORMIX 3.30 32 BIT};Host=hostname;Server=myserver;Service=service-name;Protocol=olsoctcp;Database=mydb;UID=username;PWD=myPwd  Informix-CLI 2.5:"Driver={Informix-CLI 2.5 (32 Bit)};Server=myserver;Database=mydb;Uid=username;Pwd=myPwd"  OLE DB 
     IBM Informix OLE DB Provider:"Provider=Ifxoledbc.2;password=myPw;User ID=myUser;Data Source=dbName@serverName;Persist Security Info=true" 
      

  3.   

    http://community.csdn.net/Expert/topic/3259/3259108.xml?temp=.5427667
      

  4.   

    "Provider=Ifxoledbc.2;password=myPw;User ID=myUser;Data Source=dbName@serverName;Persist Security Info=true"
      

  5.   

    我要连接的数据库是远程的,请问要在哪里输入那台机的IP地址?
    //
    Source=IP地址