|
-
May 1st, 2009, 05:16 PM
#1
Thread Starter
Junior Member
Help on VB 2008
Id like to make a stopwatch, and how do you move and click mouse automaticaly?
-
May 1st, 2009, 05:21 PM
#2
Thread Starter
Junior Member
Re: Help on VB 2008
Any help will be thanked
-
May 1st, 2009, 05:58 PM
#3
Re: Help on VB 2008
We'll need quite a bit more information than that. For one thing, there is a Stopwatch object that does a very nice job as a stopwatch, but if you want a graphical representation of a stopwatch, then the Stopwatch object is not going to do what you want. For a graphical representation you'd want to use a timer with the image updating on the Tick event. The problem with this solution is that the resolution of a Timer is not very fine. You would want to limit yourself to an interval of tenths of a second, I think. I don't believe you'll get any kind of accuracy at hundredths of a second.
The second considerations is that the shorter the interval, the simpler you will want the interface to be. If you are just showing numbers in a label, then that is quite simple, but if you want to make some fancier graphical display, such as sweep hands on a clock face, then you probably want the timer interval to be a bit slower.
On the other hand, if you don't really care to see the numbers count up, then the Stopwatch object does a great job, and is accurate down to the millisecond, or below. In that case, you'd have a start, stop, and perhaps lap, button, and start, stop, and whatnot on the Stopwatch object in the button click events.
My usual boring signature: Nothing
 
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
|