D
Daniel
Hi All,
I am trying to open mdb file from VB.NET. But I have got an error say
Unspecified error (-2147467259). Here is my code.
Imports System.IO
Imports system.Data.OleDb
.....
Dim ConnStr As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\PrintQueue.mdb"
Dim oConn As New OleDbConnection(ConnStr)
If File.Exists("C:\PrintQueue.mdb") Then
oConn.Open()
End If
The error happens in oConn.Open()
Can anyone please give me some tips? What's the problem?
Cheers
Daniel
I am trying to open mdb file from VB.NET. But I have got an error say
Unspecified error (-2147467259). Here is my code.
Imports System.IO
Imports system.Data.OleDb
.....
Dim ConnStr As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\PrintQueue.mdb"
Dim oConn As New OleDbConnection(ConnStr)
If File.Exists("C:\PrintQueue.mdb") Then
oConn.Open()
End If
The error happens in oConn.Open()
Can anyone please give me some tips? What's the problem?
Cheers
Daniel