To use UpdateVB just use the following commands in your project!
----------------------------------------------------------------------------
First, you need to import updateVB, make sure you add it as a program reference, and put this at the top of your program :
Imports updatevb
public updater as new updatevb.updatevb

The following features are only available in UpdateVB 1.x

You can now use the following commands to run your updates
updater.checkinternet() - This will check the users internet connection, this is all you have to do. But make sure this is INCLUDED.
updater.checkversion(location,version) - This will download a text file from the internet and compare itself with the programs version. - This will return the boolean 'Updateavailable' if this is true, continue with the next step
updater.downloadupdate(location) - This will download the update and check if it is there. - This will return the boolean downloadsuccess - Continue if this is equal to true
updater.runupdate() - This is the last step and is used to run the update...


VERSION 1.2 ADDS NEW FUNCTIONS, SHOWN HERE. (NOTE* THESE FEATURES ARE REMOVED IN 1.3)*
Support for progressbar has been added. Simply add a progressbar to your form and say:
progressbar1.value = updater.progress_change.percent
'This syntax is added after the "updater.downloadupdate" command

The following features are only available in UpdateVB 2.0 - 2.3

VERSION 2.0+ MAKES THE LIBRARY A PHYSICAL COMPONENT.
Simply add the component into your project, and put it out the way of any other components. Then add the following code to your project
Updatevb1.checkforupdate("Text file where version is stated","Current Version","URL of Executable Update")

The following features are only available in UpdateVB 2.4+

Simply add the component into your project, and put it out of the way of any other components, then add the following code to your project:
Updatevb1.checkforupdate("Text file where your version is stated (URL)", "Current Version", "URL of executable updater (SFX Archive), "Username for FTP", "Password for FTP", showUI As Boolean) 'ShowUI is either a true/false value, true shows a progressbar, false does not
  • Versions 2.4+ Fix numerous problems that people have been having, and allow UpdateVB to work with all projects using the .NET Framework 2.0 and higher.

Last edited Oct 1, 2011 at 10:26 PM by brandonio21, version 10

Comments

Contro Jun 23, 2012 at 3:18 AM 
When I try to use this I get one error (Error 1 Comma, ')', or a valid expression continuation expected) and it appears on 'As' please help!