You are on page 1of 1

Private Sub Timer1_Timer()

Static ictr As Integer


Label7.Caption = Label7.Caption + 1
If ictr <= 100 Then
ProgressBar1.Value = ictr
ictr = ictr + 1
Else
If ProgressBar1.Max = 100 Then
Form02.Enabled = True
ProgressBar1.Visible = False
Label7.Visible = False
Label8.Visible = False
End If
End If
End Sub

You might also like