Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB Databases Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 7th, 2004, 06:13 AM
Authorized User
 
Join Date: Nov 2003
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to MrDannyP
Default 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 :)
__________________
Im new.  Please be gentle :)
Reply With Quote
  #2 (permalink)  
Old January 7th, 2004, 10:15 AM
Friend of Wrox
Points: 1,035, Level: 12
Points: 1,035, Level: 12 Points: 1,035, Level: 12 Points: 1,035, Level: 12
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , USA.
Posts: 196
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to jmss66
Default

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Invalid report file path rwalker Crystal Reports 1 January 28th, 2009 10:49 AM
using app.path in database path and filename kd8con VB Databases Basics 2 October 25th, 2006 11:45 AM
Invalid report file path cathiec Crystal Reports 0 June 30th, 2005 10:10 AM
Invalid path for MapPath kondin BOOK: ASP.NET Website Programming Problem-Design-Solution 1 February 4th, 2004 11:49 PM



All times are GMT -4. The time now is 03:56 AM.


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