I wish I would have seen this a long time ago. FANTASTIC job of explaining threading, looking forward to seeing the delegates video. Thanks so much. !
HI SIR!! i just want to know how to do it like a timer"Alarm" or stop timer or alarmclock?? that can be pause and start again... or after i meets the limit then start it again.... did you get what i mean?? i just want to know if that code can be use...
@TheCowWhoClutchd Timer executes the code inside it repeatedly with the delay of what the value of its Interval property. The thread executes the code parallel with the main thread. When we say parallel, it is executed at the same time...
06:50 "why isnt it working" because you wrote countup() in both the buttons, which means it only refreshes label1 anyways, just to clarify that too :P
Excellent tutorial. We appreciate the time that you take in developing and recording the tutorials. I also like the way you provide a quick explanation when you take "shortcuts" like the crossthreading check....for those critics out there....this is for Instructional Purposes Only due to time constraints.....
Pseudocode: public class form1() dim objects, integers etc. dim t as system.threading.thread public class calc() 'start public shared sub functionname(this as param,param2) end sub end class ' end private sub info() if info not found then 'if you get an error you can add the class name then the .functionname calc.functionname end if end sub end class end sub 'In button 'create a new thread at that address t = New System.Threading.Thread(AddressOf info) t.Start()
Hi, great tutorials, i have learn a lot from them. I have question, have you try MultiThreading multiple web browsers or to run multiple webbrowsers in form at once? My computer freeze while web pages are loading when i try that.
He got this error because both threads were using a shared variable or component (in this case Me.Refresh), this error is to prevent multiple threads from modifying a common variable and thereby screwing eachother over. Me.refresh wont cause anything bad to happen if they cross. But beware, never use a common variable with Me.CheckForIllegalCallsSigns =False :D
Really low sound.. Dim T_UpdateChat As New Threading.Thread(AddressOf UpdateChat) Control.CheckForIllegalCrossThreadCalls = False T_UpdateChat.Start()
@Blubbz0rZ form.show gives an directx error or something.. its becose it cant open a new form while a trhead is in proggres, it can olso not close the currect form.
Oh no ! Where is the second part on delegates? Has it been done yet? Can't find it.
marz3335 2 weeks ago
I wish I would have seen this a long time ago. FANTASTIC job of explaining threading, looking forward to seeing the delegates video. Thanks so much. !
marz3335 2 weeks ago
takes for the gr8 tut
GloriaBuchanan386 3 weeks ago
nice video
MatthewCunningham543 3 weeks ago
Excellent video.
It`ll help me a lot in a project I`m developing.
Thank you very much for the video.
MouraoRenato 4 weeks ago
HI SIR!! i just want to know how to do it like a timer"Alarm" or stop timer or alarmclock?? that can be pause and start again... or after i meets the limit then start it again.... did you get what i mean?? i just want to know if that code can be use...
FName2011 1 month ago
Thank you!
donnchain 1 month ago
Well done. thank you.
Bulfoz 2 months ago
yoink! cheers mate
stonkwell 3 months ago
This has been flagged as spam show
Hi! Could you guys please check out my channel? I will do a giveaway when I reach 100 subscribers! Thanks!
hackster2011 3 months ago
Thanks for making it so basic!
wgh999 3 months ago
Just change quality to 720p and you will see the code on fullscreen :)
Thanks for this tutorial, i looked for a way to pass that error on compiling
Sc00rpY 3 months ago
Thankssssssssssssssssssss
alialali3a 4 months ago
Thanks,please zoom ; )
toneationable 5 months ago
Can you zoom the screen when you type the code so that we can follow. thanks
mlsv2000 5 months ago
This has been flagged as spam show
can't understand!
1111kalo 6 months ago
Comment removed
1111kalo 6 months ago
Comment removed
1111kalo 6 months ago
Can you make a tutorial on how to make Server with ports and run on ip etc.. ??
Vortex93 6 months ago
Guys
Its not Me.CheckForIllegalCrossThreadCalls = False
Its Control.CheckForIllegalCrossThreadCalls = False
DJDexeee 6 months ago
Thank you a lot ! this tutorial really helped me.
SentynelXS 7 months ago
great
HemmingEducation 7 months ago
thank you for making the tutorial even if 3-4AM
emann123456 7 months ago
couldnt u use a timer ?
TheCowWhoClutchd 8 months ago
@TheCowWhoClutchd Timer executes the code inside it repeatedly with the delay of what the value of its Interval property. The thread executes the code parallel with the main thread. When we say parallel, it is executed at the same time...
gybersantos 6 months ago
@gybersantos lol thx bro
TheCowWhoClutchd 6 months ago
very nice example of threading
digitalcamerasreview 8 months ago
can't hear
rich2600rich2600 9 months ago
@rich2600rich2600 Check if you muted on your computer and the YouTube player.
gamenew09 8 months ago
06:50 "why isnt it working" because you wrote countup() in both the buttons, which means it only refreshes label1 anyways, just to clarify that too :P
cskult 9 months ago
A simple tutorial but fast to understand. Keep it up and thanks, the last line was my solution ;-)
SoldierDDR 10 months ago
So doing this I can make a game right? Because right now My game is laggy-like because only one thing moves at a time.
carstorm85 10 months ago
Thanks for making this video! It helped me upgrade some previous applications I made.
imvuextrabts 10 months ago
is there an way to make the countup faster
roydolfje 10 months ago
Excellent tutorial. We appreciate the time that you take in developing and recording the tutorials. I also like the way you provide a quick explanation when you take "shortcuts" like the crossthreading check....for those critics out there....this is for Instructional Purposes Only due to time constraints.....
Thanks again!
hdqxgxa 11 months ago
SuperAphexjb 11 months ago
if (VB == gay)
{
kill yourself
}
HomieFilms 11 months ago
little question ... tryed to add "Me.CheckForIllegalCrossThreadCalls = False" but VB2010 wont accept this .... anyone knows why ?
5hunt3r 1 year ago
@5hunt3r it's just checkforillegalcrossthreadcalls = false
soulreaver4962 11 months ago
nice video, very descriptive and clear.
sprogsy10 1 year ago
ur a lost cause
v1Broadcaster 1 year ago
Please make a proper multithreading tutorial, I was very disappointed how you "fixed" the crossthread problem :(
ProbatumEst 1 year ago
Like you!
bero231 1 year ago
Thanks mate :)
TheMichalman 1 year ago
thanks man this help me .
pivitman101 1 year ago
thanks for that
callrifle16 1 year ago
very nice thanks !
MrOilmassage 1 year ago
Thanks. Very helpfull
tilankak 1 year ago
Hi, great tutorials, i have learn a lot from them. I have question, have you try MultiThreading multiple web browsers or to run multiple webbrowsers in form at once? My computer freeze while web pages are loading when i try that.
maxa272 1 year ago
@Computertechvb
No like im making a program and i want the progress bar to move across 10% every 2 seconds without having to click a button everytime
Joshizsik2 1 year ago
@Computertechvb
When you showed progress bars how do you get them to like move across without clicking a button
Joshizsik2 1 year ago
thanks man... nice tutorial again...cant wait for the next tutorial...
LosTecH88 1 year ago
thx big time. right now the only way i knew how to multithread was though a background worker but this is ay better
codecvr12 1 year ago
Hey I was wondering if you could help me out. Message me and ill let you know what I need help with
Joshizsik2 1 year ago
what the program 4 recording from desktop? :) thks nice video!
matrixITALIA 1 year ago
quick explanation: Me.ChekForIllegalCallSigns = False ;
He got this error because both threads were using a shared variable or component (in this case Me.Refresh), this error is to prevent multiple threads from modifying a common variable and thereby screwing eachother over. Me.refresh wont cause anything bad to happen if they cross. But beware, never use a common variable with Me.CheckForIllegalCallsSigns =False :D
I shall make a video to explain this fully.
njthemonsterIII 1 year ago
Keep up the awesome tutorials. Still learning tons from you.
HellRazer714 1 year ago
Really low sound.. Dim T_UpdateChat As New Threading.Thread(AddressOf UpdateChat) Control.CheckForIllegalCrossThreadCalls = False T_UpdateChat.Start()
btw, how do i open e new form when in a thread?
swehunter2000 1 year ago
@swehunter2000 Form.Show / Form.ShowDialog
Put control.checkforillegalcrossthreadcalls = False on startup
Blubbz0rZ 1 year ago
@Blubbz0rZ form.show gives an directx error or something.. its becose it cant open a new form while a trhead is in proggres, it can olso not close the currect form.
swehunter2000 1 year ago
@swehunter2000 You can actually do that, leave me a pm with the exact error and I'll tell you a fix.
Blubbz0rZ 1 year ago
ahh too bad i have vb6 because vb8 and 10 dont work on my comp....
TheEpicNewb 1 year ago
@TheEpicNewb Do you have .net framework 4?
Thapains 1 year ago
@Thapains yeah, it just does stupid shit, and messes up the drivers, i have no idea why.
TheEpicNewb 1 year ago
@TheEpicNewb what OS?
swehunter2000 1 year ago
@swehunter2000 xp professional.
TheEpicNewb 1 year ago
@TheEpicNewb sp3?
swehunter2000 1 year ago
@swehunter2000 yup.
TheEpicNewb 1 year ago
@TheEpicNewb odd.. :S well then i have no idea..
swehunter2000 1 year ago
@swehunter2000 yeah me too... i might get windows 7 ultimate in a month or so, and I'll probably get it on there.
TheEpicNewb 1 year ago
@swehunter2000 but for now i have vb6 enterprise :D
TheEpicNewb 1 year ago
@TheEpicNewb yeah, i have w7 Ultimate :D bet os so far.
swehunter2000 1 year ago
@swehunter2000 did you get it legitly? Cause if not can you tell me how to :D
TheEpicNewb 1 year ago
@TheEpicNewb torrent and then watch?v=MwQABboJGc8
swehunter2000 1 year ago
@swehunter2000 pretty cool, are you sure this worked, some of the comments are shit.
TheEpicNewb 1 year ago
@TheEpicNewb i use it and have for soon 1 year..
swehunter2000 1 year ago
I really appreciate you doing all of this. You're a lot better at teaching than my tutor =)
Bikkits 1 year ago
iam 2. viever :D
cht9178 1 year ago