Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » General

Post new topic   Reply to topic
count down timer
View previous topic :: View next topic  
Author Message
cokecan72
Newbie


Joined: 14 Oct 2003
Posts: 11

PostPosted: Nov 4th, 2003 12:20 AM    Post subject: count down timer Reply with quote

hey all, im tryin to make a count down timer. a good example would be a count down timer that tells you how many weeks, days, hours,minutes and seconds it is till christmas. had a go at it with a timer but no joy cos theres a max interval on the timer. also tired usin the Date and TIme bit to display it in a label. this kinda worked when i used a timer with interval of 100ms (1 second) to keep refreshin the form to display the correct time and date, then used an if statement to set off an alarm or play a sound when the time is equal to **:**:**.
anyone got any ideas? Smile
_________________
Damn right im good in bed....

I can sleep for days!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
P.T.A.M.
Administrator


Joined: 08 Oct 2003
Posts: 752
Location: Greece

PostPosted: Nov 4th, 2003 12:58 AM    Post subject: Reply with quote

1000 ms is a second :p I'll have a look at this and post back later Smile
_________________
No one is completely useless. They can at least be an example of what to avoid.
Back to top
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
Avis
Junior Poster


Joined: 07 Oct 2003
Posts: 510
Location: India

PostPosted: Nov 4th, 2003 01:55 AM    Post subject: Reply with quote

Hi!

Check this http://www.avissoft.com/showthread.php?s=&threadid=139

Hope this helps!

Thanks!
_________________
Code Snippets, Tutorials, Utilities, Controls

Low cost Web Hosting
Hosting starts at as low as $4 per year!


Always follow posting guidelines
Put your VB code in [vb ] your code [ /vb] tags!
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
cokecan72
Newbie


Joined: 14 Oct 2003
Posts: 11

PostPosted: Nov 4th, 2003 03:12 PM    Post subject: Reply with quote

that cool Avis, im not too keen on listview boxes tho, find them and list boxes to hard to use. dont supose it can be done with a label?, just a label to display the days, hours, minutes and seconds?
thanks anyway Smile
_________________
Damn right im good in bed....

I can sleep for days!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
P.T.A.M.
Administrator


Joined: 08 Oct 2003
Posts: 752
Location: Greece

PostPosted: Nov 4th, 2003 03:28 PM    Post subject: Reply with quote

Do you like the format it is displayed with? Just have that format in a label?
_________________
No one is completely useless. They can at least be an example of what to avoid.
Back to top
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
cokecan72
Newbie


Joined: 14 Oct 2003
Posts: 11

PostPosted: Nov 7th, 2003 12:02 AM    Post subject: Reply with quote

the formats perfect, i tried putting it all in a label instead but doesnt work right, i have mangaed to display "0 days 0 hour 0 minutes 0 seconds" in the label but it doesnt do anything else?
_________________
Damn right im good in bed....

I can sleep for days!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
P.T.A.M.
Administrator


Joined: 08 Oct 2003
Posts: 752
Location: Greece

PostPosted: Nov 7th, 2003 09:59 AM    Post subject: Reply with quote

I'll have a look at it. It will be hard (if not imposible) to remove them by pressing delete...
_________________
No one is completely useless. They can at least be an example of what to avoid.
Back to top
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » General All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic