How to use multi_thread in VB?
Visual Basic
3
Posts
3
Posters
0
Views
1
Watching
-
Hi,all. I want to use a work thread in my project .Who can help me .Please give me a sample.
-
Hi,all. I want to use a work thread in my project .Who can help me .Please give me a sample.
First of all, what version of VB? RageInTheMachine9532
-
Hi,all. I want to use a work thread in my project .Who can help me .Please give me a sample.
dim thd as Threading.Thread Private Sub threadSub() 'Some Code End Sub Private Sub threadLauncher() thd = new Threading.Thread(AddressOf threadSub) thd.Start() End Sub
This makes a thread running threadSub, if you want to keep this thread running you should add code like this:While True End While
Greetings.... :)