Good day,
Using VB 6.0, Win2000.
I have recently inherited a project that was designed in VB6.0, Win95 in 1999.
Using VB Prof Edition, I open the project and try to login but am getting an error:
Microsoft OLD DB Provider for ODBC Drivers reported 0. [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed.
End of Error:
Here is the code that is trying to establish the connection.
Set mconn = New ADODB.Connection
mconn.ConnectionString = _
"PROVIDER=MSDASQL;" _
& "driver={Microsoft ODBC for ORACLE};" _
& "SERVER=" & user1.userHSDInstance_str & ";" _
& "uid=" & user1.userHSDnm_str & ";" _
& "pwd=" & user1.userHSDps_str
mconn.Open
Please .. any help is greatly appreciated.
SAW
Using VB 6.0, Win2000.
I have recently inherited a project that was designed in VB6.0, Win95 in 1999.
Using VB Prof Edition, I open the project and try to login but am getting an error:
Microsoft OLD DB Provider for ODBC Drivers reported 0. [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed.
End of Error:
Here is the code that is trying to establish the connection.
Set mconn = New ADODB.Connection
mconn.ConnectionString = _
"PROVIDER=MSDASQL;" _
& "driver={Microsoft ODBC for ORACLE};" _
& "SERVER=" & user1.userHSDInstance_str & ";" _
& "uid=" & user1.userHSDnm_str & ";" _
& "pwd=" & user1.userHSDps_str
mconn.Open
Please .. any help is greatly appreciated.
SAW