Progress bar control is used to provide visual feedback to the users about the status of the task. The bar fills from the left to the right to help you determine the progress of the operation and how long would it takes.
Now, click the progress bar in the toolbox and drag it into the form.
The prime properties of a progress bar are Maximum ,Minimum and Value. The purpose of the Minimum and Maximum properties are to set the minimum and maximum values of the progress bar that can be displayed. While, the purpose of Value property is it specifies the current position of the progressbar.
- Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
- 'set values to the progress bar
- ProgressBar1.Minimum = 0
- ProgressBar1.Maximum = 200
- ProgressBar1.Value = 130
- End Sub
Readers might read also: