Problem set up connection string to SQL server (Using ADO in VB)
Hi,
i'm VB beginner. Lately i try out using the ADO to retrieve data frm SQL server, but connection problem encouter when i run it.
SQL server 7 is locally installed type (local) as server name, & use Window NT Integreted security as log on to the server. (no username/passward needs)
My VB code:
Dim cnnConnection As ADODB.Connection
Set cnnConnection = New Connection
cnnConnection.ConnectionString = "Provider=sqloledb;" & _
"Data Source (local); Initial Catalog=BigBank;"
cnnConnection.Open
.........
Error:Invalid Connection String Attribute.
Any advise will be sincerely appreciated.
Regards
Chris

