The timer control allows a certain procedure to be called at an interval (ie every 1 minute). The timer control is not completely accurate, and if the computer is busy, the procedure will not be called, but it is still a good way, for example, to update a display every minute.
Double click on the Timer icon when you have added it to your form. A code window will appear with a new procedure called Timer1_Timer(). This procedure is called each time the specified interval elapses:
Private Sub Timer1_Timer()
'// this procedure is called
End Sub
Comments