VB.NET Tutorial For Beginners – IF, ELSE, and ELSEIF Statements (Visual Basic .NET)

In this beginner Visual Basic .NET programming tutorial, I’ll be showing you how to check object conditions using IF, ELSEIF, and ELSE.

Tutorial Features:
VB.NET IF Statements – IF, ELSEIF, ELSE
String.Contains – Finding a value within a String
String.Replace – Replace a value within a String
VAL() – Return Numeric Value from a String
LCase() – Convert Strings to Lower Case
TextBox Password Masking
VB.NET Form Controls – TextBox, Buttons, Labels

Comments

Tigris Habeeb says:

Great video,Thank you verrry much for this helpful tutorial!!!

nice garry says:

Private Sub TextBox1_KeyDown(sender As Object, e As KeyEventArgs) Handles TextBox1.KeyDown
        If e.KeyCode = Keys.Enter Then
            If TextBox1.Text.Contains = (“.”) Then
                Button6.PerformClick()
            Else
                Button7.PerformClick()
            End If
        End If
    End Sub

‘If TextBox1.Text.Contains’ seems to be underlined in blue, I don’t know how to fix it.

Annie Zuniga says:

OMG YOU ROCK – I’ve been stuck on a homework assignment for a week and a half UNTIL THIS VIDEO!!!

Md. Momin says:

how to use the input mask in textbox in vb.net
https://youtu.be/u9X82C2IHYA

Kiddy San says:

HAHAHAHA !!! this is awesome. its really hard for me to create an error trap but i got a little bit idea of this video. thanks ^_^

Nina Ramirez says:

Thankkk u so much for this

robert mccully says:

Excellent explanation… Nice that you kept previous code alive…and kept building. Sucks when -in some videos they go back and keep killing old code.

Peter Brett says:

im trying to write something that accept scores but i dont know how to collectively like say have numbers up to a certain point are bad and higher numbers are accepted please help :(

gary bennett says:

Very Helpfull Keep Them Coming

Write a comment

*

Human Verification: In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.


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

Please click below to support us on Facebook!

Send this to a friend

▷ Other ReviewsVehicles▷ Show Cars▷ Motorbikes▷ Scooters▷ Bicycles▷ Rims & Tires▷ Luxury BoatsFashion▷ Sunglasses▷ Luxury Watches▷ Luxury Purses▷ Jeans Wear▷ High Heels▷ Kinis Swimwear▷ Perfumes▷ Jewellery▷ Cosmetics▷ Shaving Helpers▷ Fashion HatsFooding▷ Chef Club▷ Fooding Helpers▷ Coktails & LiquorsSports▷ Sport Shoes▷ Fitness & Detox▷ Golf Gear▷ Racquets▷ Hiking & Trek Gear▷ Diving Equipment▷ Ski Gear▷ Snowboards▷ Surf Boards▷ Rollers & SkatesEntertainment▷ DIY Guides▷ Zik Instruments▷ Published Books▷ Music Albums▷ Cine Movies▷ Trading Helpers▷ Make Money▷ Fishing Equipment▷ Paintball Supplies▷ Trading Card Games▷ Telescopes▷ Knives▷ VapesHigh Tech▷ Flat Screens▷ Tech Devices▷ Camera Lenses▷ Audio HiFi▷ Printers▷ USB Devices▷ PC Hardware▷ Network Gear▷ Cloud Servers▷ Software Helpers▷ Programmer Helpers▷ Mobile Apps▷ Hearing AidsHome▷ Home Furniture▷ Home Appliances▷ Tools Workshop▷ Beddings▷ Floor Layings▷ Barbecues▷ Aquarium Gear▷ Safe Boxes▷ Office Supplies▷ Security Locks▷ Cleaning ProductsKids▷ Baby Strollers▷ Child Car Seats▷ Remote ControlledTravel▷ Luggages & Bags▷ Airlines Seats▷ Hotel Rooms▷ Fun Trips▷ Cruise Ships▷ Mexico Tours