7. Progress Bar

This tutorial will teach you the easiest method of using a Progress Bar in your Visual Basic .NET application. In this example, the Progress Bar will only increase with the click of a button and so it is not showing the progress of anything but this should help you understand how a progress bar works.


Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        ProgressBar1.Value = ProgressBar1.Value + 20
    End Sub

End Class