Hack Forums
[.NET] [VB.NET] Multi-Threading [TUT] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] [VB.NET] Multi-Threading [TUT] (/showthread.php?tid=1410154)

Pages: Pages 1 2


* - Banksу - Jun 23, 2011

(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. 😝


* - Bigandrewgold - Jun 23, 2011

(Jun 23, 2011 10:52 PM)Banksy™ 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


* - KingCobraXD - Jun 24, 2011

(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. =)


* - The-One - Jun 24, 2011

Looks good king, saw this on TLF. Thanks for posting :D


* - KingCobraXD - Jun 28, 2011

(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. =)


* - iVision - Jul 8, 2011

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!


* - pr3fix - Jul 8, 2011

This is not the best way to do it, I prefer Thread Pool.


* - Artisanal - Feb 10, 2013

Nice tut man 🤩
It will help ...


* - 4RG0S - Feb 10, 2013

Great Tutorial, thank you for creating this :)


* - deiski - Feb 10, 2013

(Feb 10, 2013 01:37 AM)Zombay Wrote:  Nice tut man 🤩
It will help ...

Great way to grave dig, also great way of avoiding the post count limit.


* - samo dz - Nov 21, 2014

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