title: VB.NET Timer Interval 1 = 1 millisecond?
body: <p>I Got a Timer With Interval = 1<br></p>
  
  <p>Interval 1 = 1 millisecond ?
  <br><br>
  if Interval 1 is not 1 millisecond ,<br>So tell me which control interval = 1ms<br></p>
  
  <p>code:
  <br></p>
  
  <pre><code>Imports System.Globalization
  
  Public Class Form1
      'Default Time To Start From
      Dim time As String = "00:00:00,000" 'Start From Here
  
      'Label
      Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
          Timer1.Start() 'Run The Timer On Click
      End Sub
  
      'TIMER
      Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  
          'Timer Interval = 1
  
          Dim ci = CultureInfo.InvariantCulture
  
          Dim original As TimeSpan = TimeSpan.ParseExact(time, "hh\:mm\:ss\,fff", ci) 'ParseExact
  
          Dim difference As TimeSpan = TimeSpan.FromMilliseconds(1) ' = 1  Millisecond
  
          Dim final = original
  
          final = original + difference ' connect between original to difference !(00:00:00,000 + 1 MS = 00:00:00,001)!
  
          Dim output As String = final.ToString("hh\:mm\:ss\,fff", ci) 'convert to the format (  = 00:00:00,001  ) (Back It To The Right Format)
  
          time = output '!!Update!! the Time String from 00:00:00,000 To 00:00:00,001 |||| And in the Next Time 00:00:00,001 + 1 = 00:00:00,002
  
          Label1.Text = time 'Show the Time String in the label
  
      End Sub
  
  End Class
  </code></pre>
  
  <p>As you see - <strong>Im Useing Regular Timer</strong> With Interval 1 ,<br> But i think that it worng because timer not counting milliseconds<br>
  <br>
  if you got advice ,tell me.</p>