I assume you're increasing the ProgressBar's value in another way, yes?
Either way, in the Timer's Tick event, you can check if the Value of the ProgressBar is 1000.
vb Code:
If ProgressBar1.Value = 1000 Then
MessageBox.Show("Success")
End If
You could then set an integer variable at class scope that will keep track of the seconds.
vb Code:
Dim _TimePassed As Integer = 0
If your timer is set to 1000 (1 second), each tick will be 1 second. Then, in the same event, at the top of it, you could add:
That way, each second, it gets + 1. Then check within the code:
vb Code:
If ProgressBar1.Value = 1000 Or _TimePassed = 10 Then
MessageBox.Show("Success")
End If