Advanced VB.NET Programming - Threads, Events and Delegates (Part 2)

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ม.ค. 2025

ความคิดเห็น • 14

  • @dford0001
    @dford0001 ปีที่แล้ว

    Thank you for your time in putting together these videos. They have helped tremendously! I hope to see more!

  • @JohanSandq
    @JohanSandq 5 หลายเดือนก่อน

    This is a great video - Thank you

  • @jtlunsford780
    @jtlunsford780 ปีที่แล้ว

    Very informative and taxing on my old brain. But the more I study, the easier it all becomes. Like, when I changed the exception to ThreadAbortException it had a red squiggly under it. My first thought was, I probably have to Imports some Thread business, and viola. Thanks for challenging me and making me THINK. I'll be sad when I run out of your vids. I appreciate you....JT

  • @happybunny2529
    @happybunny2529 2 หลายเดือนก่อน +1

    22:22 I found this code on stackoverflow:
    Me.Invoke(Sub() Label1.Text = "Updated!")
    Using the above code, I'm able to modify a control's properties on a separate thread other then the main thread without declaring a delegate myself. Is this valid, or should I be creating delegates myself?

    • @ComputerScienceLessons
      @ComputerScienceLessons  2 หลายเดือนก่อน +1

      Looks good to me. C# provides some other shortcuts too.

    • @happybunny2529
      @happybunny2529 2 หลายเดือนก่อน

      @@ComputerScienceLessons Oh nice, thanks for the reply! Still going to mess around with delegates just to make sure I understand them. Thanks again for the reply and for the amazing video! You rock my friend!

  • @daveevans9809
    @daveevans9809 ปีที่แล้ว +1

    I'd really like to see something on COM as an intercommunication method, and also one on WMI as a method of examining a vast range of computer information. There's very little out there on COM, and what does exist re WMI is largely out of date using VS 2022, or just plain wrong. Many thanks.

    • @anon_y_mousse
      @anon_y_mousse ปีที่แล้ว

      Again I find myself wondering, how many people really use COM anymore?

  • @joaquinortiz29
    @joaquinortiz29 11 หลายเดือนก่อน

    where I can download code sample of this practice?

  • @westikle
    @westikle ปีที่แล้ว

    could you elaborate on how "addhandler" being dynamic and "handles" being static?

    • @bradydeslippe1700
      @bradydeslippe1700 ปีที่แล้ว

      if you define a function with "handles ... " that function is pre-set to have that handle. If you just define the function without the "Handles" then you can, wherever you want, mostly, run the addhandler command to attach that function to an event. You can also removehandler. With this you can change handlers dynamically in your code.

  • @rusanh
    @rusanh 4 หลายเดือนก่อน

    superrrr

  • @MyCodingDiary
    @MyCodingDiary ปีที่แล้ว +1

    This was such an informative video! If you're into programming, you'll love my channel too.

  • @rusanh
    @rusanh 4 หลายเดือนก่อน

    superrrr