Added: 1 year ago
From: TeachMeComputer
Views: 31,283
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (81)

Sign In or Sign Up now to post a comment!
  • Oh no ! Where is the second part on delegates? Has it been done yet? Can't find it.

  • 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. !

  • takes for the gr8 tut

  • nice video

  • Excellent video.

    It`ll help me a lot in a project I`m developing.

    Thank you very much for the video.

  • 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...

  • Thank you!

  • Well done. thank you.

  • yoink! cheers mate

  • Thanks for making it so basic!

  • 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

  • Thankssssssssssssssssssss

    

  • Thanks,please zoom ; )

  • Can you zoom the screen when you type the code so that we can follow. thanks

  • Comment removed

  • Comment removed

  • Can you make a tutorial on how to make Server with ports and run on ip etc.. ??

  • Guys

    Its not Me.CheckForIllegalCrossThreadC­alls = False

    Its Control.CheckForIllegalCrossTh­readCalls = False

  • Thank you a lot ! this tutorial really helped me.

  • great

  • thank you for making the tutorial even if 3-4AM

  • couldnt u use a timer ?

  • @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 lol thx bro

  • very nice example of threading

  • can't hear

  • @rich2600rich2600 Check if you muted on your computer and the YouTube player.

  • 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

  • A simple tutorial but fast to understand. Keep it up and thanks, the last line was my solution ;-)

  • 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.

  • Thanks for making this video! It helped me upgrade some previous applications I made.

  • is there an way to make the countup faster

  • 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!

  • 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(Addres­sOf info) t.Start()
  • if (VB == gay)

    {

     kill yourself

    }

  • little question ... tryed to add "Me.CheckForIllegalCrossThread­Calls = False" but VB2010 wont accept this .... anyone knows why ?

  • @5hunt3r it's just checkforillegalcrossthreadcall­s = false

  • nice video, very descriptive and clear.

  • ur a lost cause

  • Please make a proper multithreading tutorial, I was very disappointed how you "fixed" the crossthread problem :(

  • Like you!

  • Thanks mate :)

  • thanks man this help me .

  • thanks for that

  • very nice thanks !

  • Thanks. Very helpfull

  • 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.

  • @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

  • @Computertechvb

    When you showed progress bars how do you get them to like move across without clicking a button

  • thanks man... nice tutorial again...cant wait for the next tutorial...

  • thx big time. right now the only way i knew how to multithread was though a background worker but this is ay better

  • Hey I was wondering if you could help me out. Message me and ill let you know what I need help with

  • what the program 4 recording from desktop? :) thks nice video!

  • 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.

  • Keep up the awesome tutorials. Still learning tons from you.

  • Really low sound.. Dim T_UpdateChat As New Threading.Thread(AddressOf UpdateChat) Control.CheckForIllegalCrossTh­readCalls = False T_UpdateChat.Start()

    btw, how do i open e new form when in a thread?

  • @swehunter2000 Form.Show / Form.ShowDialog

    Put control.checkforillegalcrossth­readcalls = False on startup

  • @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 You can actually do that, leave me a pm with the exact error and I'll tell you a fix.

  • ahh too bad i have vb6 because vb8 and 10 dont work on my comp....

  • @TheEpicNewb Do you have .net framework 4?

  • @Thapains yeah, it just does stupid shit, and messes up the drivers, i have no idea why.

  • @TheEpicNewb what OS?

  • @swehunter2000 xp professional.

  • @TheEpicNewb sp3?

  • @swehunter2000 yup.

  • @TheEpicNewb odd.. :S well then i have no idea..

  • @swehunter2000 yeah me too... i might get windows 7 ultimate in a month or so, and I'll probably get it on there.

  • @swehunter2000 but for now i have vb6 enterprise :D

  • @TheEpicNewb yeah, i have w7 Ultimate :D bet os so far.

  • @swehunter2000 did you get it legitly? Cause if not can you tell me how to :D

  • @TheEpicNewb torrent and then watch?v=MwQABboJGc8

  • @swehunter2000 pretty cool, are you sure this worked, some of the comments are shit.

  • @TheEpicNewb i use it and have for soon 1 year..

  • I really appreciate you doing all of this. You're a lot better at teaching than my tutor =)

  • iam 2. viever :D

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more