jennyek2000
Programmer
I am trying to create a new database programmatically using ADO ext 2.7 (in vb.NET) using the following code:
Dim mycatalog As New Catalog()
Try
mycatalog.Create("Provider=Microsoft.Jet.oledb.4.0;DataSource=Q:\Job" & CmboxJobnos.Text & ".mdb"
Catch ex As System.Runtime.InteropServices.COMException
MsgBox("Error creating database archive. " & ex.Message, MsgBoxStyle.Exclamation)
Finally
mycatalog = Nothing
End Try
However when I run the code, I get the exception "could not find the installable ISAM".
How can I fix this?
Thanks, Jenny
Dim mycatalog As New Catalog()
Try
mycatalog.Create("Provider=Microsoft.Jet.oledb.4.0;DataSource=Q:\Job" & CmboxJobnos.Text & ".mdb"
Catch ex As System.Runtime.InteropServices.COMException
MsgBox("Error creating database archive. " & ex.Message, MsgBoxStyle.Exclamation)
Finally
mycatalog = Nothing
End Try
However when I run the code, I get the exception "could not find the installable ISAM".
How can I fix this?
Thanks, Jenny