You are trying to control the timing with the wrong thing. (I.e. you are mis-using the timer.) The time should be the thing in control.
Try out the following code:
You should add a timer to a new form in a new app.
Code:
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
' Put your code in here to flip to the next frame of your video.
Debug.Write(" Timer Click: " & Now().ToString & vbCrLf)
End Sub
This will write out a note every time the timer clicks. You can control how often the timer clicks by changing the interval property of the timer. You can control if the timer is on by changing the enabled property.
The function that gets called by the timer's click should check which side is visible, and make it the next side.
John R Lick
[email protected]