How do i connect to a SQL database using coding in VB 6 RRS feed

  • Question

  • HI

    i am using  a MSSQL database and would like to code the connection to the database

    my database name is ISMAIL-HP\SQLEXPRESS

    my database is test

    i have tried


    Dim con As New ADODB.Connection

    Dim rst As New ADODB.Recordset


    Regards Ismail
    • Moved by Martin_Xie Monday, January 30, 2012 6:29 AM Redirect to related VB6 Forum for better support. (From:Visual Basic Language)
    Friday, January 27, 2012 9:51 AM


All replies