A
AndyB
Hi, this is simple access 2000 stuff.
Sub OpenDB()
Dim strConn As String
Dim objConn As New ADODB.Connection
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=C:\aspdatastore\database.mdb"
objConn.Open strConn
*
* Do something here
*
Set objConn = Nothing
End Sub
I have three systems with access2000 on them. Two of them work as expected.
One system fails with a Visual Basic Run-time error Method 'Open' of object
'_Connection' failed.
I've run MDAC 2.8 and Jet service pack 8 upgrade to no avail.
Has anyone got any ideas ?
Taa.
AndyB
Sub OpenDB()
Dim strConn As String
Dim objConn As New ADODB.Connection
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=C:\aspdatastore\database.mdb"
objConn.Open strConn
*
* Do something here
*
Set objConn = Nothing
End Sub
I have three systems with access2000 on them. Two of them work as expected.
One system fails with a Visual Basic Run-time error Method 'Open' of object
'_Connection' failed.
I've run MDAC 2.8 and Jet service pack 8 upgrade to no avail.
Has anyone got any ideas ?
Taa.
AndyB