Visual Basic 2010 - How to use a progress bar (Tutorial ) + Source

Was this helpful ?

  • Yes

    Votes: 4 100.0%
  • No

    Votes: 0 0.0%

  • Total voters
    4

Dev

Veteran
Messages
24
Reaction score
29
Points
793
Simple Tutorial + Source
Download App:
You do not have permission to view link Log in or register now.

Virus Scan:
You do not have permission to view link Log in or register now.

Download Source:
You do not have permission to view link Log in or register now.



Code​
Code:
Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Timer1.Start()
    End Sub

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        MessageBox.Show("Progress bar Tut DeveloperExtra!")
    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 = 100 Then
            Timer1.Enabled = False
            MessageBox.Show("Hello People!")
        End If
    End Sub
End Class
 
Top