|
-
May 14th, 2005, 05:07 AM
#1
Thread Starter
Lively Member
Timer to continue ticking [RESOLVED]
OK, I know I'm full of problems, but please bear with me. I appreciate the help. 
OK, I have a Timer. I know that in VB6 it was very different, but in VB.NET it appears that once the timer reaches it's interval, it stops ticking. Am I right? Well I'm having trouble with it and that matter. I have a code that goes like this:
VB Code:
Private Sub tmrTimeLeft_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tmrTimeLeft.Tick
Dim TimeLeft As Integer = 180
TimeLeft = TimeLeft - 1
lblTimeLeft.Text = TimeLeft
End Sub
And in the form Activated event, it is supposed to enable the timer.
I don't get what is wrong. I see the label change to 179 from 180 and that is it. If you help, I would appreciate it if you don't do the whole thing for me, as this is part of a school assignment and I don't want to have to take code of people. Thanks.
Last edited by martw; May 14th, 2005 at 06:09 AM.
Reason: Resolved
I never know what to put in this section...

So sue me... ... ... I'm just kidding...
www.fat-pie.com Flash Movies... You gotta see 'em to believe 'em!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|