How to Create Custom Button in VB.Net

By | November 5, 2014
Have you ever thought of changing the look of your Buttons in Visual
Basic? Then you are at right place, I’ll be showing you how you can
make your own custom button controls in visual basic.
Note: If you know how to design  buttons in photoshop or whatever you use then
you can specifically design your own buttons and if you don’t know then not a
big deal you can download our custom buttons over here: Download Custom Button Project Resource Files.

Also Read: Lab Login System Mini Project in VB.Net

How to Create Custom Button in VB.Net

  • Let’s get started by creating a new windows form application in visual basic.
  • Go to solution explorer – Under your Project select My Project – Resources.

How to Create Custom Button in VB.Net
  • Select Add Resource – Add Existing File, and browse the downloaded images.
How to Create Custom Button in VB.Net
  • Now go to Project in MenuBar and select Add Class and name you class like TheCrazyProgrammerButton, BradleyButton, MissionButton or something like that.
  • Remove all the existing code in the class and paste the below code.

  • Now run your Projects once close it. After that you can see a new control named “YourClassName” in your ToolBox.
  • Drag it on you windows form and you are ready to use your custom button. custom button

2 thoughts on “How to Create Custom Button in VB.Net

  1. Joshua King

    That was a wonderful one! Am a newbie in programming and am wowed by this!

  2. TheVBworker

    Is the downloadable costume button resource available for win8?


Leave a Reply

Your email address will not be published. Required fields are marked *