ProgressBar Control in VB.Net

Progress Bar Control is used to display the progress of a task.

Drag and drop ProgressBar Control from toolbox on the window Form. By default maximum value of ProgressBar is set 100 and minimum value is set 0 and this value can be changed.

ProgressBar Control in VB.Net


Public Class Form14


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

     'Progressbar will show progress bteween max and min value

     While ProgressBar1.Value < 100

     ProgressBar1.Value += 5 'progressbar value will increment 5 in each step

     End While

 End Sub


End Class

Run the project

ProgressBar Control in VB.Net

When you click StartTime button then ProgressBar will start.

ProgressBar Control in VB.Net


  Modified On Nov-29-2017 04:00:31 PM

Leave Comment