HN-Community
[vb.net] simple progress bar - Printable Version

+- HN-Community (https://hacker-newbie.org)
+-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html)
+--- Forum: Coding/Programing (https://hacker-newbie.org/forum-19.html)
+---- Forum: Visual Basic (VB) (https://hacker-newbie.org/forum-68.html)
+---- Thread: [vb.net] simple progress bar (/thread-11669.html)



[vb.net] simple progress bar - 72Dark - 12-24-2011

1 Timer
1 ProgressBar
1 Form
1 Button

Code

Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Timer1.Start() End Sub Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick ProgressBar1.Increment(1) If ProgressBar1.Value = ProgressBar1.Maximum Then End If End Sub

demo here


RE: [vb.net] simple progress bar - elfnine - 12-25-2011

wah kreeeeeeeeeeeeeeeeeeeennnnnnnnnnnnnnnnnnnn