Question How do I set a "timer"?

Bobany

New member
Joined
Nov 24, 2008
Messages
2
Programming Experience
Beginner
Hello.

This is my first post ever on this forum. :eek:
Im trying to make a "click checker" that checks how many times
you can click in an amount of time.
My problem is, when I tryed to use a timer the timer never starts "ticking".
(I figured that out in some testes.)
Here's my code: (button click)

VB.NET:
        If Timer1.Enabled <> True Then
            Timer1.Interval = 1000
            Timer1.Enabled = True
        End If
        If Timer1.Enabled = True Then
            Label1.Text = Val(Label1.Text) + Val(1)
        End If

Please help me. I've googled for a long time but coulden't find any answer to my
problem :( I've also bin in other forums, but they coulden't help me.

Thx in advance
Bobany~
 
Back
Top