First declare the exported WebUpdate function as a function prototype:
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:
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:
Having integrated the Software Update Wizard with your code, the next step is to write your first update script:
The Software Update Wizard comes with comprehensive documentation on all its features. Please click here to read the developer help file on line.
The Software Update Wizard is simple to integrate with most development environments and languages. Click here for a fast start to integration.
Here is an example of how a developer would use the Software Update Wizard to deploy a new version of their software.