[RESOLVED] ClickOnce and Database
Well I have my installer working good however thought i would try this clickonce installer. I have worked through all issues but one i think.
If I post an updated version and a user updates their program they loose the database. Was curious how I move the database over from the old version.
Thanks
Re: ClickOnce and Database
Ok, i figured one thing i was doing was when I set it to a data file in the Application files it puts the data in a different location so
application.StartupPath & "\labels.mdb didnt work.
So guess i need to reference the data in a different manner.
Re: ClickOnce and Database
I found the answer
System.Deployment.Application.ApplicationDeployment.CurrentDeployment.DataDirectory
And a person has to check the type of deployment if one is debuggin.