Automatic Updates

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
108 posts Page 11 of 11
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Re: Automatic Updates
CodenStuff
KraZy wrote:
The file is available, i don't try the admin mode...

InifinityBlue is in PHP language my app is in vb.net
The PHP is just for the web host/server where you store your file updates, the application and code itself is in VB.net. PHP makes it easier so you don't have to keep changing the text file to like "version 2" etc.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
KraZy
Top Poster
Top Poster
Posts: 93
Joined: Sat May 26, 2012 8:40 am

Re: Automatic Updates
KraZy
Ok, but now I can not use this system maybe in a second program.
I could understand what is the cause that triggers that error? Why does my pc download works and the files are available on the server.
I'm in the empire business.
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Re: Automatic Updates
CodenStuff
Uhm dunnno;

Try changing this:
Code: Select all
MsgBox("There was a problem downloading the update,  please try again later.")
to this and see if it tells you what the error is:
Code: Select all
MsgBox(e.error.tostring)
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
KraZy
Top Poster
Top Poster
Posts: 93
Joined: Sat May 26, 2012 8:40 am

Re: Automatic Updates
KraZy
Ok, I ran the program administrator mode and it works, probably windows 8 with the smart screen filter blocking the download and I buggava the software. Is there a way to set the application as administrator mode? Why else would all those using windows 8 would have this kind of problem.
I'm in the empire business.
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Re: Automatic Updates
CodenStuff
I couldn't find the exact tutorial but this post should help you launch your application in admin mode: viewtopic.php?f=21&t=9908&hilit=run+as+admin#p72048
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
KraZy
Top Poster
Top Poster
Posts: 93
Joined: Sat May 26, 2012 8:40 am

Re: Automatic Updates
KraZy
i get this error:

ClickOnce does not support the requested execution level requireAsAdministrator

omg;
I'm in the empire business.
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Re: Automatic Updates
CodenStuff
Oh...all the problems you've been having could be related to the fact your are using clickonce :?

I never use clickonce personally.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
KraZy
Top Poster
Top Poster
Posts: 93
Joined: Sat May 26, 2012 8:40 am

Re: Automatic Updates
KraZy
ok i fix this
I'm in the empire business.
108 posts Page 11 of 11
Return to “Tutorials”