-2

I Need Timer That Counting milliseconds - Explanation:

Format: "hh\:mm\:ss\,fff"

If MilliTimer.ForMilliseconds = "00:00:01,447" Then
Label1.text = "Test"
End If

(the code is for explanation only)

roger janety
  • 61
  • 2
  • 8

1 Answers1

1

It's hard to tell what you are asking for, but if you want to test how many milliseconds have transpired since you started a "timer", you want the StopWatch class. You can start the stop watch like this:

StopWatch sw = new stopWatch();
sw.Start();

And then you can test how many milliseconds have transpired like this:

if (sw.ElapsedMilliseconds > 1447)
Steven Doggart
  • 43,358
  • 8
  • 68
  • 105