ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Visual Basic Tutorial | How to Add Custom Skins on Forms in Visual Basic

Updated on May 2, 2014

Overview

Form skins are used to make the program more presentable by its design, note that upon using skins on forms some of the codes might not work, based from my programming experience when you use form skins some of its controls do not accept conversions like, converting lowercase into proper and upper cases it is because skins are programmed not by drag and drop option but coding.

Using skins on a program you are making is very useful as a beginner you can turn yourself into intermediate programmer once the people saw that you made something that some other programmers cannot.

There are lots of form skins and design uploaded and shared through the internet but only some of them are working properly. One example of the program I used in adding skins into my project is the "Visual Basic Theme Archive" this archive contains 45 different and high quality designs of forms and controls and aside from that it is free to download. Check out the video I uploaded about this Visual Basic Theme Archive.

Corsair Vengeance 16GB for Better Performance in Programming

Corsair CMZ16GX3M2A1600C10 Vengeance 16GB (2x8GB) DDR3 1600 MHz (PC3 12800) Desktop Memory 1.5V
Corsair CMZ16GX3M2A1600C10 Vengeance 16GB (2x8GB) DDR3 1600 MHz (PC3 12800) Desktop Memory 1.5V

Corsair Vengeance 16GB has a stable power of supporting multi tasking specially in programming, using visual studio you need a horse powered ram to make your debugging and running the program smoothly. This memory stick is powerful enough to maintain and handle visual basic crash problems and PC free during the debugging of the program.

 

Visual Basic Theme Archive Preview

This is one of many themes that you can use with the visual basic theme archive.
This is one of many themes that you can use with the visual basic theme archive.

Visual Basic Theme Archive Features

Because programmers like me likes to add black skins on our projects, programmers around the world made this theme more on solid black colors.

  • Fluidity - Every skins on this theme archive is fluid upon running the application like the default design of form and controls.
  • Texture - More of the designs compiled on this archive was amazing in terms of texture, you can find alternate dark gray and solid black stripes and glowing borders.
  • Virus Free - Based from my 5 years of programming experience, upon using this cool skins I have never met a malicious code embedded to this skins even my anti-virus scanner never detect malware and trojans injected on this themes as far as I know.
  • Easy to use - Once you have selected the desired skin that you want to use to your program, you just need to copy and paste its code and debug it so that visual basic can detect that you have added new controls.

So, How Do I Add Theme / Skin into my Project in Visual Basic?

Okay, let's start with the tutorial, P.S You need to read carefully and follow the step-by-step instructions to avoid errors in your project. I highly advice that you must put the skin or theme first before do coding of your program. "Make this as FIRST STEP"

Instructions:

  1. Open Visual Basic (Note, this skins only work on VB2008 or Higher)
  2. Create New Project
  3. Open Visual Basic Theme Archive
  4. From the archive browse and select from 45 different designs
  5. Once you have selected the skin you want to use
  6. Click the "View Code" Button (wait till the animation is done)
  7. Now, Click on the source code to copy it to clipboard (Just Click it, no need to right click and copy)
  8. Once the code has been copied to clipboard
  9. Go back to visual basic on your new project
  10. Add new class (Class1.vb) 'you can rename it or just leave it to its default'
  11. After the new class.vb has been added
  12. Highlight all its code and Paste the copied code from the theme archive
  13. Once its pasted, Debug your project and when it says "Debug Successful"
  14. Open the Form1 design and on the toolbox you will see a newly added controls, that includes the main skin and some of its controls like button and textbox.

Once again, follow carefully the steps I provided to avoid program error or even vb crash.

EVGA GeForce 610 2GB for Max Power in Visual Studio

EVGA GeForce GT 610 2048MB DDR3, DVI, Mini-HDMI, Graphics Card (02G-P3-2617-KR)
EVGA GeForce GT 610 2048MB DDR3, DVI, Mini-HDMI, Graphics Card (02G-P3-2617-KR)

For max power upon programming is visual studio, you will need a very cheap yet powerful graphics card, and EVGA GeForce 610 2GB can do that for you. I highly recommend you to use this product to avoid visual studio restart issue and freeze issue during debug mode.

 
Once the skin has been recognized by visual basic you can see something like this.
Once the skin has been recognized by visual basic you can see something like this. | Source

For this tutorial I also recorded a video tutorial on How to add Form Theme or Skin in Visual Basic.

I Made this to make it easy for you to understand the steps I provided above.

Watch the video tutorial below and make sure to watch it in HD for a clear and better sighting of what I am doing.

Once again, I do not know if this skins can work on vb6, as far as I know once vb2008 has been launched they also added new line of codes or more likely they evolve some codes to make it more easy to use and to understand.

Programming is not that hard after all, once you get into it.

Comments

    0 of 8192 characters used
    Post Comment

    No comments yet.

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)