VB.net code for silent updates

Dear support,

Is there any VB.net code to silently run wyUpdate on form load?

Thanks,Chris

Hey Chris,

Yes, you can either use the AutomaticUpdater (which handles all the details for you) or use wyUpdate in standalone mode.

The best place to start is the step-by-step walkthrough, which explains everything you need to do.

Thanks for the quick response. Do I have to use a Menu Item or Tool Strip Item to run the AutomaticUpdater or can I trigger this on FormLoad of the application?

Thanks,Chris

The default behavior of the AutomaticUpdater is to automatically check for updates every so often. You don't have to call any function. Just add the AutomaticUpdater to your app and set a few properties.

Hi i want to Silently update Database updates in Windows Service using wyupdate.I am need a sample code for this

Could you post a sample code?

thank you

We have this in the FAQ: Can I update databases (Microsoft SQL Server, MySQL, etc.) as part of my update?:

Yes, see the "Executing files in your update" article to learn how.

Sorry, we don't have example code, because (a) it's 1 line and (b) that 1 line will be different depending on what database you're using, what sql script you're using, how you're storing the user/password, how you're retrieving them, etc.

If you have a question about how the database tools we link to work then read the documentation about the tools.

Start small. Get it to work in your commandline. Then move it to a batch file. Then add it to wyBuild. If you can't get it to work in your commandline then it won't magically work in wyBuild.