Multi Threading
Posted: Tue Jul 25, 2006 2:04 pm
Anyone that knows a good amount of vb probably knows what the Threading function of vb.net is.
My problem is that my thread wont be recognized by visual studio. My code is
My problem is that it doesn't allow the
line. And it doesn't allow me to make it just "New Thread" instead of the rest of giberish.
If anyone can help it would be greatly appreciated because I really need to be able to create another thread to run a very laggy part of the application.
My problem is that my thread wont be recognized by visual studio. My code is
Code: Select all
Private Sub TC1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TC1.Tick
Dim myThread As System.Threading.Thread
myThread = New System.Threading.Thread(AddressOf Me.Check1)
myThread.Start()
End Sub
Code: Select all
New System.Threading.Thread(AddressOf Me.Check1)
If anyone can help it would be greatly appreciated because I really need to be able to create another thread to run a very laggy part of the application.