Reputation: 2495
Hello in my update script in VB.NET, i'm making some stuff, and I want, while all funcs are executed, a progressbar to be displayed? How to do that? Here is my execution sub:
Private Sub FetchUpdateButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FetchUpdateButton.Click
My.Computer.Network.DownloadFile _
("http://version1.hit.bg/stroiko_install.zip", UpdateClass.WebUpdateZIP)
Dim AppDir As String = Application.StartupPath()
MyUpdate.ExtractArchive(UpdateClass.WebUpdateZIP, AppDir)
File.Delete(UpdateClass.WebUpdateZIP)
End Sub
Thank you!
Upvotes: 0
Views: 142
Reputation: 981
Just add a progress bar from a tool box and manipulate it in your code.
Upvotes: 1