Integrating the Software Update Wizard - Visual Basic

First declare the exported WebUpdate function as a function prototype:

Private Declare Function WebUpdateWait Lib "wuw4.dll" (ByVal szURL As String, ByVal nTimeOut As Integer) As Long


Then call the WebUpdate() function to initiate an updates check:

 
            
PrivateSub CheckUpdates()Dim myURL AsString 
myURL= "https://mycompany.com/myscript.txt" 
WebUpdate(myURL)EndSub

Alternatively, ensure the supplied stub file, wuwstub.exe, is located in the same folder as your application and call it as a child process using ShellExecute() or similar:

dim objShell
set
objShell = CreateObject("shell.application") objShell.ShellExecute "wuwstub.exe", "https:///www.mycompany.com/updatescript.txt", "", "open", 0set objShell = nothing

That's it!  You are ready to move to the next step - authoring your update script:

Next Steps...

Having integrated the Software Update Wizard with your code, the next step is to write your first update script:

Documentation:

The Software Update Wizard comes with comprehensive documentation on all its features.  Please click here to read the developer help file on line.

Integration:

The Software Update Wizard is simple to integrate with most development environments and languages.  Click here for a fast start to integration.

A Quick Example:

Here is an example of how a developer would use the Software Update Wizard to deploy a new version of their software.




The Software Update Wizard - delivering automatic updates since 2002!

See us on Facebook