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

*

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

Please click below to support us on Facebook!