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
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 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!
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.
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.
Thank you for your time in putting together these videos. They have helped tremendously! I hope to see more!
This is a great video - Thank you
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
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?
Looks good to me. C# provides some other shortcuts too.
@@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!
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.
Again I find myself wondering, how many people really use COM anymore?
where I can download code sample of this practice?
could you elaborate on how "addhandler" being dynamic and "handles" being static?
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.
superrrr
This was such an informative video! If you're into programming, you'll love my channel too.
superrrr