Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

[VB.NET] Multi-Threading [TUT]

(Jun 23, 2011 10:44 PM)Bigandrewgold Wrote:  
PHP Code

<?php 
Sub Main
()
    
Dim t1 As New Thread(AddressOf one)
    
t1.Start()
    
Dim t2 As New Thread(AddressOf one)
    
t2.Start()
End Sub
Sub one
    MsgBox
("1")
End Sub
Sub two
    MsgBox
("2")
End Sub 
um, doesnt this code just create 2 MsgBox("1")'s instead one of each

Yeah because he didn't put the second one as AddressOf two. 😝
(Jun 23, 2011 10:52 PM)Banksу Wrote:  Yeah because he didn't put the second one as AddressOf two. 😝

thats what i thought but i am on so many pain meds right now because of having my wisdom teeth pulled i wasnt for sure
[Image: Yucwo7j.png]

(Jun 23, 2011 10:44 PM)Bigandrewgold Wrote:  
PHP Code

<?php 
Sub Main
()
    
Dim t1 As New Thread(AddressOf one)
    
t1.Start()
    
Dim t2 As New Thread(AddressOf one)
    
t2.Start()
End Sub
Sub one
    MsgBox
("1")
End Sub
Sub two
    MsgBox
("2")
End Sub 
um, doesnt this code just create 2 MsgBox("1")'s instead one of each

Good Catch. Lol. I gotta edit that. =)
Looks good king, saw this on TLF. Thanks for posting :D
FR1908
(Jun 24, 2011 04:53 AM)The-One Wrote:  Looks good king, saw this on TLF. Thanks for posting :D

Yea, I know. i posted it there too. =)
Very nice!
I thought I did knew the basics of VB.net
But I didn't knew about this.
Its readable, useful, beginnerfrienldy = Nice tutorial!
This is not the best way to do it, I prefer Thread Pool.
Nice tut man 🤩
It will help ...
[Image: bmb5MjV.png]

Great Tutorial, thank you for creating this :)
(Feb 10, 2013 01:37 AM)Artisanal Wrote:  Nice tut man 🤩
It will help ...

Great way to grave dig, also great way of avoiding the post count limit.
CONTACT ME IAM SIMPLE CODED VB.NET i need your help to build good RAT im frend of njq8


CONTACT ME IAM SIMPLE CODED VB.NET i need your help to build good RAT im frend of njq8
that is my facbook www.facebook.com/samo.ramos.7


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by mrKOMay 29, 2020 09:50 AM 4 232 May 29, 2020 09:50 AM
Last Post: CD_ROM
[Python] by -DarkByDesign-May 15, 2020 02:45 AM 7 180 May 15, 2020 02:45 AM
Last Post: Athr
[Java] by -DarkByDesign-May 14, 2020 12:13 PM 0 129 May 14, 2020 12:13 PM
Last Post: -DarkByDesign-