This tutorial will help you understand what an If Statement is. If Statements will help your application decide what to do in a given situation. They are also a part of every programming language in existance. Key Terms: ————— If Statement Then End If
4 thoughts on “Visual Basic 2008 / Visual Basic .NET Tutorial #4 – If Statements”
Leave a Reply to TeachMeComputer Cancel reply
You must be logged in to post a comment.
if textbox1.text = “hello” or textbox1.text = “hi” then
label1.text = “goodbye
end if
I’ve Subscribed. Great Tuts.
Watch my tutorial on Operators, it’s like #27 and #28
Hi,
Can i have 2 words in the text box which would bring up the label for example
if “hello” or “hi”
are used then goodbye comes up as a lable