VB.NET Tutorial – Extension Methods / Custom Controls (Visual Basic .NET)

In this Visual Basic .NET tutorial, I will be showing you how to use Extension Methods, a powerful tool, that will allow you to customize and enhance native VB.NET objects and controls, and increase their functionality. I’ll show you how to add additional functions and methods to any existing structures including Strings, Integers, and even a ListBox.

Extension Methods – Add new commands to VB.NET types and controls
Function – Returning Data
Sub – Create new methods
Lambda Expressions


CesarGMe says:

is it possible to add custom properties to existing controls? It’d be very useful. This is a great tutorial series BTW, highly recommended.

Carlos Alberto Araujo says:

Your magic here… is the best !
This project can help in so many tasks.

Travlar says:

I have learned so much from you over the past few weeks. I was still holding onto VB 6 mentality as I could never find a clear and concise explanation on such things as Classes and/or Objects! The theory was there, but without a real world example, I couldn’t wrap my mind around it. My code is so clean now after learning your SQLControl lesson and I keep going back to old code to change it. The door was always open, but your tutorials shoved me out the door into a magnificent world I didn’t realize existed and I can’t thank you enough for taking the time to help those less savvy, such as myself. I know I might sound like I’m laying it on thick, but I literally have reduced some of my code in half! Please continue what you do. Thank you.

michael pizzo says:

Just incase I need this :] gr8 job by the way

Gamal Abdall says:

You have a great way of explaining things, but why not mentioning your name at the beginning of the your videoits nice to know the great instructor we learning from.thank you

Lee Quarles says:

One of the most useful tutorials yet! Excellent examples and explanations. Much appreciation.

Devin Dwight says:

I like the Marvin reference “easter egg” btw, haha.

edward esmalin says:

thanks again sir

Devin Dwight says:

This stuff is new to me actually, its nice to be challenged in new ways! Great work on these tutorials, they are very practical.  Can’t wait to test out these new things 😀

 Write a comment


Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!