Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
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
Posted
Updated 6-Nov-19 3:41am
v2
Comments
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

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

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900