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 PostLook in the properties of the ADODC (Database or connectionstring I think?). Copy it, paste it, see the path? Now, remove that setting from the properties box and put it in form load as it is. Make sure it still works. Now you should be able to figure out how …
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.
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.