G
Guest
Hi All,
I'm reading the Environment.TickCount property after a button click event to
create a basic stopwatch.
If I click the button as uniformly as possible, the resulting gap in
milliseconds seems to be far too even - ie. if I clicked the button 10 times
then there would probably be 2 or 3 intervals with exactly the same reading.
The chances of me being that accurate just by clicking a button are very low,
so either the environment.tickcount property is only accurate to 1/100th of a
second (in which case why is it trying to return a time to 1/1000th) OR my
button_Click event is only called with a set interval OR I am uniquely able
to time my finger movements to the nearest 1/1000th of a second.
If the first case is true - is there a more accurate timer available to me.
If the second case is true, can I increase the priority of button Click
events so they are more accurate?
If the third case is true does anyone have a phone number for Guinness Book
of Records?
I am coding in VB from Visual Studio 2005.
Many thanks in advance.
I'm reading the Environment.TickCount property after a button click event to
create a basic stopwatch.
If I click the button as uniformly as possible, the resulting gap in
milliseconds seems to be far too even - ie. if I clicked the button 10 times
then there would probably be 2 or 3 intervals with exactly the same reading.
The chances of me being that accurate just by clicking a button are very low,
so either the environment.tickcount property is only accurate to 1/100th of a
second (in which case why is it trying to return a time to 1/1000th) OR my
button_Click event is only called with a set interval OR I am uniquely able
to time my finger movements to the nearest 1/1000th of a second.
If the first case is true - is there a more accurate timer available to me.
If the second case is true, can I increase the priority of button Click
events so they are more accurate?
If the third case is true does anyone have a phone number for Guinness Book
of Records?
I am coding in VB from Visual Studio 2005.
Many thanks in advance.