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 9 of 11
User avatar
astheyfall
VIP - Donator
VIP - Donator
Posts: 160
Joined: Sun Sep 19, 2010 6:13 am

Re: Automatic Updates
astheyfall
Hello,

Would I just upload my newer version program? then the updater will update the previous one?
User avatar
comathi
Coding God
Coding God
Posts: 1242
Joined: Fri Mar 26, 2010 1:59 pm

Re: Automatic Updates
comathi
That's how it should work :D
User avatar
Cheatmasterbw
Coding God
Coding God
Posts: 1506
Joined: Fri Jan 01, 2010 2:30 pm

Re: Automatic Updates
Cheatmasterbw
you would also have to upload a text file with the version number (so your program knows that the file to download is more up-to-date)
http://www.megaapps.tk/
User avatar
zulfikar
Member
Member
Posts: 30
Joined: Fri Aug 19, 2011 4:22 am

Re: Automatic Updates
zulfikar
Hmm.. i tihnk it works but im not sure because i put a message box pop up and ask to update and if result = no then it doesn't. But no matter what i press it goes on to the code where i said to give another msgbox that update was cancelled, here is my code.

http://pastebin.com/48b6e21R

my Form 1 is a login form btw and the pitureboxes are just cuz i photoshoped a gui for it and then added pictureboxes transparent for button like stuff :D
Image
User avatar
zulfikar
Member
Member
Posts: 30
Joined: Fri Aug 19, 2011 4:22 am

Re: Automatic Updates
zulfikar
Any help on my problem please? and if i run the updater i get an error says it was doing illegal stuff. Here is my updater as well :

http://pastebin.com/RrMexbuX
Image
User avatar
zulfikar
Member
Member
Posts: 30
Joined: Fri Aug 19, 2011 4:22 am

Re: Automatic Updates
zulfikar
Bump on my previous error, which i have waited for a response for a while.
Image
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: Automatic Updates
MrAksel
You must save the result in a variable like this :
Code: Select all
Dim Result As MsgBoxResult = MsgBox("An Update is available, would you like to update?", MsgBoxStyle.YesNo + vbQuestion, "Update Available")
Then you can check it.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
Kobra1984
Member
Member
Posts: 38
Joined: Mon Sep 05, 2011 1:01 pm

Re: Automatic Updates
Kobra1984
Need to download multiple items
User avatar
M1z23R
VIP - Donator
VIP - Donator
Posts: 622
Joined: Tue Sep 28, 2010 4:55 pm

Re: Automatic Updates
M1z23R
If you have new libraries simply download them, and replace the existing ones. If not, you only need to change your executable (.exe)
User avatar
Mark
VIP - Donator
VIP - Donator
Posts: 372
Joined: Mon Aug 17, 2009 10:35 pm

Re: Automatic Updates
Mark
http://www.mbappz.com
108 posts Page 9 of 11
Return to “Tutorials”