Hi All,

I'm trying to create a Stopwatch that starts with Milliseconds.
I can already run a Clock with milliseconds but I want to start from zero like a stopwatch.
Here's what I have for a running clock.

VB Code:
  1. Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  2.         TextBox1.Text = "00:00:00:000"
  3.         TextBox2.Text = "00:00:00:000"
  4.     End Sub
  5.  
  6.     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  7.         Timer1.Start()
  8.     End Sub
  9.  
  10.     Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  11.         Dim upTime As TimeSpan = TimeSpan.FromMilliseconds(Environment.TickCount)
  12.         TextBox1.Text = (Date.Now.ToString("hh:mm:ss:fff"))
  13.         TextBox2.Text =  ' what next, to create a stopwatch with Milliseconds
  14.     End Sub

Thanks in advance,

sparrow1