Another noob question here.. Im a frshman programming student and I don't have the best instructor. I've just finish doing a simple inventory system Vb6 + MS Access database. My question is how can I save the database path? because whenever I change computer from Home to School I need to reconnected all the database connections.. or else a "/db/.mdb is not a valid path" error pops out.. I still can't figure it out how to set a database path... I hope you kinda understand my question. sorry for my bad english. I really need some help or guidance.. thanks
ticktoc09
0
Newbie Poster
Recommended Answers
Jump to PostYou have several options. First and simplest is to have the database and the application in the same directory. Then the connection path is ".\db.mdb" and it will always look in current directory, no matter where you execute from.
If that's not an option (as in you have to …
All 2 Replies
BitBlt
452
Practically a Master Poster
Featured Poster
hkdani
commented:
Provides common sense solutions to solve common problems. A practical programmer.
+5
hkdani
39
Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.