p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   VB Databases Basics (http://p2p.wrox.com/forumdisplay.php?f=82)
-   -   Invalid database Path (http://p2p.wrox.com/showthread.php?t=7919)

MrDannyP January 7th, 2004 06:13 AM

Invalid database Path
 
Im just a tad confused with my database settings at the moment.

When in Design Mode my selection form my DatabaseName is :

D:\My Applications\Job Database.mdb

My App works fine on my computer. When I create the Install Shield and then place all the files on CD thats fine.

When I installed my App on another computer they could open it but when they went on the form Job Database where all the information for a database is kept, the folloing error occured:

D:\My Applications\Job Database.mdb is not a valid path

What do I need to do for the application to search the directory where its just been installed rather than the directory where I first got my database from when creating the Install Shield?

thankyou for looking

Im new.  Please be gentle :)

jmss66 January 7th, 2004 10:15 AM

It is best to create the database in a shared drive like a network server or maybe somebody else's computer and share the drive so everyone can have access to it.

You can then rewrite your code to show the path:

\\server name\my applications\job database.mdb

Judy


All times are GMT -4. The time now is 12:08 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.