how can i change the path of my database, because if i move my program to another computer it complains of database error.
i use this code to add record to the database.
adodc1.recordset. addnew
please assist
thanks
dammysky 0 Newbie Poster
Recommended Answers
Jump to PostIt is always better to store the DB file in the application path and set the property of the control using code in the form load event.
Jump to PostAs everybody above already stated, copy the database to the same file you are using on the pc where you started the application. It seems that you are talking about just testing on another pc and not installing. Vineeth is quite correct in using App.PAth for easier testing. When installing, …
All 8 Replies
vb5prgrmr 143 Posting Virtuoso
debasisdas 580 Posting Genius Featured Poster
vb5prgrmr 143 Posting Virtuoso
Vineeth K 10 Posting Whiz in Training
dammysky 0 Newbie Poster
vb5prgrmr 143 Posting Virtuoso
Vineeth K 10 Posting Whiz in Training
AndreRet 526 Senior Poster
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.