I continue to get the above mentioned error even though the file is located where it is supposed to be. My code is listed below.
Dim ws As DAO.Workspace
Dim db As DAO.Database
Try
db = ws.OpenDatabase("C:\LogIn_Samples.mdb")
Catch f As NullReferenceException
Throw New NullReferenceException("The database could not be found!!", f)
End Try
Does anyone have any suggestions. Please forgive me if this has already been answered but the search dialog is down at the moment
Thanks
Dim ws As DAO.Workspace
Dim db As DAO.Database
Try
db = ws.OpenDatabase("C:\LogIn_Samples.mdb")
Catch f As NullReferenceException
Throw New NullReferenceException("The database could not be found!!", f)
End Try
Does anyone have any suggestions. Please forgive me if this has already been answered but the search dialog is down at the moment
Thanks