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
Jump to Post
You 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
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.