Click here to Skip to main content
14,427,837 members
Rate this:
Please Sign up or sign in to vote.
my application saves data perfectly in debugging but when i created a setup and installed it on my computer the installed application wont save data in my database ms access

What I have tried:

i have tried to add the database file on the setup
Updated 6-Nov-19 4:41am
phil.o 6-Nov-19 9:09am
Where is the database file located? If it is in the same directory as the application, and the application is deployed to "program files" folder, there is your problem.

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Add the MDB file to your project in the Solution Explorer.
Make sure the Build Action property is set to Content.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100