Click here to Skip to main content
15,887,083 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have got a vb project which i would like to publish however when i publish it the sqlite database which i use doesn't seem to go with it. So, i cannot use the program when i distribute it to another computer. How can i make it so when i publish the project it is able to communicate with the database?

What I have tried:

I have tried to add it to my application files but it does not seem to show up on there
Posted

1 solution

Without trying it, I would say the following would work. Choose the sqlite database in your Solution window and select Propeties. Set the type to Content and Copy To Content Folder Always. That should copy the database over.
 
Share this answer
 
Comments
Andre Oosthuizen 20-Mar-24 13:17pm    
Perfect, +5
Pete O'Hanlon 22-Mar-24 3:08am    
Thank you.

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