|
-
Apr 10th, 2007, 01:07 PM
#1
Thread Starter
Hyperactive Member
[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
-
Apr 10th, 2007, 02:34 PM
#2
Thread Starter
Hyperactive Member
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.
-
Apr 10th, 2007, 03:03 PM
#3
Thread Starter
Hyperactive Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|