hi everybody!
im in a basketball team n my coach asked me to make a scoreboard program for the huge screen we have (he knows im the only one from the team that does some programming)
im using Visual Basic 2008.
i pretty much know how to do everything except for the countdown timer which has to count down all the way from 8 minutes to 0. it would also be nice if it makes a beep when it reaches 0. so here's the problem. i know how to make a simple timer with seconds. but how to put minutes n milliseconds?? it should look like this
minutes:seconds:milliseconds
someone please help!! im desperate
thanks in advance
:) :)
theonlyhugeg
0
Newbie Poster
Recommended Answers
Jump to Posti know how to make a simple timer with seconds. but how to put minutes n milliseconds?? it should look like this
minutes:seconds:millisecondsUsing the 'Now' function with VB6 (this is a VB6 forum) gives you the current time. However, this will only give you the time in seconds.
…
Jump to PostPrivate Declare Function GetTickCount Lib "kernel32.dll" () As Long
This API function Return a time in miliSecond for each time called.
you can use it.
Jump to PostThis API function Return a time in miliSecond for each time called.
you can use it.That API depends on the resolution of of the operating system's timer.
That could be anywhere from 9 to 100 milliseconds.If the user requires a resolution of 1 millisecond, then you'll have …
All 9 Replies
hkdani
39
Posting Pro in Training
Mbt925
0
Junior Poster in Training
hkdani
39
Posting Pro in Training
hkdani
39
Posting Pro in Training
theonlyhugeg
0
Newbie Poster
hkdani
39
Posting Pro in Training
hkdani
39
Posting Pro in Training
theonlyhugeg
0
Newbie Poster
hkdani
39
Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.