Skip to main content

Write a VB program to design progress bar using Timer control. Once process is completed new form should get open and display message Processed Successfully

· One min read
Kaustubh Kulkarni

Write a VB program to design progress bar using Timer control. Once process is completed new form should get open and display message Processed Successfully

file.vb
Private Sub Timer1_Timer()  

ProgressBar1.Value = ProgressBar1.Value + 10
If ProgressBar1.Value = 100 Then
Form2.Show
Timer1.Enabled = False
End If
End Sub