I application is using MS ACCESS 2007 for the database, and when I start the application from Visual Studio 2008 it works fine.
After I create the setup file, and install the application and start the application from the setup file, it works fine too, and if I exit the application and go to start and click on the icon any time that the application Insert, delete or update to the DB it gives an error message.
Here is my connection string.
The strange think is that after the setup is done and I start the application from the setup it works, and if I go to the start and click on the icon it doesn't.Code:OleDbConnection = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & Application.StartupPath & "\db1.accdb; Jet OLEDB:Database Password=ghhv;")
Any ideas.
I attached the error msg.




Reply With Quote