title: How to make timer not freeze program
body: <p>When I start the timer during a process it freezes my program. Is there any way to resolve it? To make it not freeze all buttons in the GUI while the timer is working?</p>
  
  <pre><code>Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
     Do somting...(I sending mail throught SMTP)
  End Sub
  </code></pre>