Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

[VB6] How to program a timer/stopwatch in less than 5 Minutes in VB6!!

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,366
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 17, 2009

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

Category:

Howto & Style

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:
see all

All Comments (1)

Sign In or Sign Up now to post a comment!
  • 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

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more