"Database Path does not exist"

landon998
09-12-2000, 04:49 PM
I'm pretty new at this so it may be an easy question.
I'm programming in a Windows CE environment. I have the path specified for
the application to connect to the database and I get an error message saying
that the database is not found. The crazy part is that VB shows the path
where it can't find the database--and it is showing the correct path to where it is. If you have any suggestions I would greatly appreciate it.

Thank you very much

Valkyrie
09-13-2000, 01:29 PM
Check the entire path, including the drive. The path you show is relative to whatever the current directory is. Run debug and look at the entire string including the drive letter, colon and path.

HTH


Quote of the moment....
"My job is so top secret even I don't know what I'm doing!"

H001
07-22-2004, 10:50 PM
You might want to use the vb keyword App.Path. It is the application path. Just concatenate it with the file name of your database.
Hope it helps you.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum