In the form's Load event (or whatever other event makes sense), set the
TimerInterval property for however many milliseconds you want to wait until
the event is triggered. For instance, to wait 1 second:
Me.TimerInterval = 1000
In the form's Timer event (labelled On Timer on the form's Properties tab),
put code for what you want to have happen:
Sub Form_Timer()
Static intShowPicture As Integer
If intShowPicture Then
' Show icon.
Me!btnPicture.Picture = "C:\Icons\Flash.ico"
Else
' Don't show icon.
Me!btnPicture.Picture = ""
End If
intShowPicture = Not intShowPicture
End Sub
In the above, the picture will be displayed, then a second later it will be
removed, then a second later it will be displayed again and so on. If you
don't want the event to occur again, you put Me.TimerInterval = 0.