VB Timer Example
VB TIMER EXAMPLE
VB CODE IS -
Private Sub cmdClearPrintMsg_Click()
Cls
End Sub
Private Sub cmdStartTimer_Click()
Timer1.Enabled = True
Timer1.Interval = Val(txtInterval.Text)
End Sub
Private Sub cmdStopTimer_Click()
Timer1.Enabled = False
End Sub
Private Sub cmdClearInterval_Click()
txtInterval.Text = ""
End Sub
Private Sub cmdClearMsg_Click()
txtMsg.Text = ""
End Sub
Private Sub Timer1_Timer()
Print txtMsg.Text
End Sub
Comments
Post a Comment