scarleton
February 9th, 2000, 11:21 AM
I have a program that is openning an ADO connection in VB. It use to work fine, but all of a sudden it doesn't work on my machine nor any of the client's machines. the Err.Number is 3706.
Dim Cn As ADODB.Connection
Set Cn = New ADODB.Connection
Cn.Open "DSN=" + DSN
DSN is the name of an ODBC connection. I am able to go into Access 97 and link to the DSN source. I am by no way an expert in ADO, might someone have and idea what I am doing wrong? Can someone enlighten me as to how to figure out what the error 3706 means? I am sure I will run into more of them soon:)
Dim Cn As ADODB.Connection
Set Cn = New ADODB.Connection
Cn.Open "DSN=" + DSN
DSN is the name of an ODBC connection. I am able to go into Access 97 and link to the DSN source. I am by no way an expert in ADO, might someone have and idea what I am doing wrong? Can someone enlighten me as to how to figure out what the error 3706 means? I am sure I will run into more of them soon:)