-
How make VB updater
Hey everyone i wanna make a vb auto updateer that i just click on button Update and it will download some files in the directory where i have the vb application
please can someone say me what is the (download) code ?
i just wanna it for my server that guys can download from my website some files.
and it will not need framework ? or how i can build framework in my application you know that the ppl dont need install framework just run my application click on update and its finished
please if you can write back fast. :/ ty...
-
Re: How make VB updater
We will be more than happy to help you, if you get stuck. We will not write the code for you though. Try to write it on your own and let us know if you get stuck.
-
Re: How make VB updater
If you look in the .NET Code Bank, you'll find a post that has some code which will update apps. It's a little clunky, but I'm sure it works (if it doesn't, it should only need some minor tweaking).
As far as needing framework... they should already have it... otherwise they wouldn 't be running your app in the first place.
-tg
-
Re: How make VB updater
Use the XML.
Like this;
Put a file to server, name is: "Update.xml" including this lines:
"LastVersion"
On program:
Read XML file "LastVersion" information,
Code:
If LastVersion = CurrentVersion Then
'No updates available, put your code
Else
'Updates are avaiblable
'Go to update page, or download file
End If
-
Re: How make VB updater
Check in the codebank, there are at least 3 auto updater samples/classes there.