VB DataBase's Presence Check

Status
Not open for further replies.

Mohan Giri

In Runtime
Messages
144
Hi everybody,
I have created a database in Access using VB DAO control. Before proceeding to Data manipulation in the database I want to check if the database is created or not in the specified path. How can I do this? Anyone can help me?

Thanks in advance.

Bye
 

jinexile

In Runtime
Messages
260
Mohan when your DAO control connects to the database and it cannot connect/find it it will throw an exception. In VB6 I used the ADODB control (I found it much superior to the others) so I'm not sure exactly what type of error the DAO control throws. A simple way to check is to move your access database and try running the program.
 
Status
Not open for further replies.
Top