How to trigger 'Automatic update' manually?
one of my applications uses the built in 'automatic update' feature from VB.NET.
(You know.... Open 'My Project', tab 'Publish', button 'Updates'.)
I would like to give the user the possibility to manual search for updates.
How can I trigger the 'update process'?
Yes, this is possible with a little code. There is a great post that has some sample code here: http://searchwindevelopment.techtarg...278204,00.html
You may want to read throught the post for more info, but here is the code you are interested in (taken directly from the article linked above):
private void OnUpdateApplication(object sender,
ApplicationDeployment deployment =
MessageBox.Show("Update downloaded, application" +
"will now restart.");
MessageBox.Show("No updates available");
Thanks for the link John!
I've been looking for a good link to provide folks for Click Once.
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
Thanks for the link.
I'll test it.
By Stephen in forum Database
Last Post: 09-23-2009, 03:09 AM
By Terry in forum ASP.NET
Last Post: 03-31-2003, 05:35 PM
By Paul in forum Database
Last Post: 09-25-2002, 03:25 AM
By Leon Parker in forum Database
Last Post: 09-24-2002, 12:10 PM
By tim cronin in forum Database
Last Post: 05-01-2001, 01:20 PM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center