The first step would be to add the System.Deployment.dll
That will open up a set of methods that will allow you to work with a ClickOnce deployment. And, using My, makes it very easy to do.
Here's some sample code that will check for, and download the latest version. You can get a little slicker by doing it Asynchronously so you can download in the background. This code will block the app while it checks and downloads the new version, but it should give you a good idea how to get it working...
If My.Application.Deployment.CheckForUpdate() Then MessageBox.Show("A new update has been downloaded. Please restart the application to use the new version.")
Right now, if there's an update available, I simply run the (network) setup program, then close the app. This seems to work, but is inelegant, and not useful with an asynch update.
MikeB