i have a splash screen that i want to change a picture once a second for three seconds; then load my main form. what i want it to do is load a picture into a picture box; start a timer which will stop the loop for one second then start the loop again add 1 to the pintcount which will result in the name of aneither picture (my pictures are named 1, 2, 3) i have it in the form load event procedure. this is the code that i have so far. what i have tried to do is put this code in the timer 1 procedure and it resulted in executing the timer and when the timer finished then the code executed, so i moved it to the form load procedure. the problem that i seek help with is: how can i get the timer to execute inside of the loop, becouse without it the loop just fly's through the code and only shows the last picture
Private Sub Form_Load()
Dim pintcount As Integer
Dim pstrloc As String
Dim pstrpicname As String
pintcount = 1
pstrloc = "G:\school\vis basic\changing pictures1\pictures\"
For pintcount = 1 To 3
pstrpicname = pstrloc & pintcount & ".jpg"
Picture1.Picture = LoadPicture(pstrpicname)
Timer1.Enabled = True
Form1.Refresh
pintcount = pintcount + 1
Next
If pintcount = 3 Then
Unload Form1
End If
End Sub