Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
* * * * * 1 votes

CountDown timer Class in VB.Net

timer countdown countdown timer

  • Please log in to reply
50 replies to this topic

#25 databoy478

databoy478

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 21 January 2010 - 07:29 PM

This is the best timer class I have seen.
  • 0

#26 like2code

like2code

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 21 January 2010 - 09:27 PM

AWESOME!! Just what I need!
  • 0

#27 newplanetboy

newplanetboy

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 22 January 2010 - 04:28 PM

thnx:bad::bad:
  • 0

#28 jribarra

jribarra

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 05 February 2010 - 09:07 AM

Just what I was looking for. Thanks.
  • 0

#29 lolpol

lolpol

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 27 February 2010 - 10:11 AM

very nice
  • 0

#30 slimtugo

slimtugo

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 29 July 2010 - 08:15 AM

Thanks for sharing your code. Its really cool and could be used for various applications.
Please i would like to know how to start and track separate instances of the CountDown class. For instance i have a form that starts 5 countdowns. How can i have them display their separate values with any interference.

Thanks in advance.
  • 0

#31 jleonorlane

jleonorlane

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 27 November 2010 - 08:27 PM

..very usefull, i use it already, but how about if after the message appear when the time is done...i want it to resume to another time
example: i set it to 30 mins...then after that message appears then after the message disappear the time will resume to another 30 minutes..
can you please show me how to do that...
  • 0

#32 Vswe

Vswe

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1989 posts
  • Programming Language:Java, C#, PHP, Python, JavaScript, PL/SQL, Visual Basic .NET, Lua, ActionScript

Posted 28 November 2010 - 04:47 AM

You can just use <countername>.AddTime(0,30).
  • 1

#33 GonerDoug

GonerDoug

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 04 March 2011 - 05:12 PM

Handy code! Thanks!
I found making the countdown public (rather than dimming it in the form_load) made it easier to access from other elements on my forum.
  • 0

#34 Vswe

Vswe

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1989 posts
  • Programming Language:Java, C#, PHP, Python, JavaScript, PL/SQL, Visual Basic .NET, Lua, ActionScript

Posted 05 March 2011 - 06:12 AM

Handy code! Thanks!
I found making the countdown public (rather than dimming it in the form_load) made it easier to access from other elements on my forum.


If you refer to the example I posted earlier, it was just to show what commands to use. I agree with you that the countdown instance shouldn't be dimmed in a load_event. If it should be Public, Private or having another scope depends on where you want to use it though.
  • 1

#35 jaffemutant

jaffemutant

    CC Lurker

  • Just Joined
  • Pip
  • 7 posts

Posted 17 March 2011 - 07:48 AM

thank you for the countdown timer!! its very useful. now i can finally make a game based around timed turns!!!
  • 0

#36 koder

koder

    CC Lurker

  • Just Joined
  • Pip
  • 2 posts

Posted 16 June 2011 - 06:23 AM

Hi...Thank u so very much for such an useful post...actually, in my project I need to stop the timer at some point if the task is completed before time. Please help me in achieving this...
  • 0





Also tagged with one or more of these keywords: timer, countdown, countdown timer

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download