ok so i tryed.
nothing change.
the sleep still freeze the whole app.
see the new project i amde just to try it
Code:
Imports System.Threading.Thread
Public Class Form1
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Randomize()
TextBox1.Text = CStr(Int(Rnd() * 999))
Application.DoEvents()
Sleep(1000)
End Sub
Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
Randomize()
TextBox2.Text = CStr(Int(Rnd() * 99999))
End Sub
End Class
NextGen1: OutSide Link Removed.
both timer set to 100 ms
still freeze whole app so the Random 2 sleep with the Random 1
yes for this one i could have used only 1 timer but my other project realy need more timer .