Video tutorial on how to program a timer or stopwatch in visual basic 6.
-------------------------------------------------------------------------------------------------------------------
Dim tTime As Double
Private Sub Command1_Click()
tTime = 0#
Timer1.Enabled = True
End Sub
Private Sub Command2_Click()
Timer1.Enabled = True
End Sub
Private Sub Command3_Click()
Timer1.Enabled = False
End Sub
Private Sub Timer1_Timer()
tTime = tTime + 0.1
Label1 = "Timer = " & tTime
End Sub
hey nice video , I have a timer in pc and I want to know who to desable the program , the program is a user timer so I can only use the pc two hours so there is enything that I can do do extend te time in the program
1374raziell 1 year ago