[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –
Visual Basic Tutorial – 13 – If Statement
by
Tags:
Comments
39 responses to “Visual Basic Tutorial – 13 – If Statement”
-
You probably don't even read these anymore, but I would just like to point out that my teacher makes 25 minute videos over these same things and I still just don't get it when he does it. Your tutorials are short and right to the point, thank you. These videos are amazing
-
your awesome, best tutorials I have seen
-
just here to says thanks for the videos
-
why do you only use console applications?
-
hey how can i download visual studio is there link to it
-
Private Sub forwardcontrol1_Click()
If WebBrowser1.Visible = True (This part is giving me the error, it wont register as in if statment)WebBrowser1.Go Forward
End Subwhat is wrong with that. and no, (it isnt the go Forward part that has worked forever)
-
Hi Sam;
I have an excel sheet that does some calculations. First, cell A1 needs to be initialized by a number (let’s say 1). Now cells A2 to A5 read the value of A1 and do some calculations. If one of cells A2 to A5 has a value between equal to 0, then value of cell A1 has reached its maximum, otherwise A1 should be increased by 1. Upon incrementing A1, I need to check again if one of the cells A2 to A5 hold a 0 value, if yes then A1 has reached its maximum value, otherwise A1 needs to be increased again by 1, and so on. I think this should be done by VB, but I am not sure how. Any feedback you can give me. ? thank you very much. -
I was just notified of a reply to a comment I posted on one of the videos in this series about a year ago: the question's answer is was very obvious for me, reading it now.
At this moment, 11 months later, I'm fluent in VB.NET and C#, and know my way around Java and C++.
I'm only posting this comment to tell everyone out there to don't give up! I was there less than a year ago, with no programming knowledge whatsoever – now, I code whatever I want and am planning to start software engineering in uni.
KEEP GOING! You'll get there – and it's so much fun! -
0.o
-
0 dislikes
-
How to ignore the string comparing?!
-
I like Bucky more, but Sam is good too. The reason I like Bucky more is because I watched more tutorials with Bucky in it and Bucky makes it fun to learn, but like you said, Sam is always straight on point, so I like both of them.
-
100st, seriously.
-
You are explaining how if is working in programing in general. I expected to see the syntax and examples.
-
thanks for that
-
i studied other languages before this series and i gotta say
I LOVE THE WAY SAM IS TEACHING US
he is straight on point with what hes doing and i feel confident ima make it to the end satisfied -
This isnt bucky, this is sam.
-
This guy rocks
-
It's almost the same
-
/playlist?list=PL28EF3CEDC96F55C2
-
Because the If statements do not exist BEFORE he types his password, notice that we have typed the If statements only AFTER he types his password. I'm assuming that each Line of code is read one by one in the order they are typed and not read all at once.
For it to work the way you are saying, I guess the If statements would have to come BEFORE everything else. Try it out.
-
Just would like to say thank you! I understand most of this stuff, but a few things were still new to me, and your videos, including this one, helped me.
-
did you read 'The Witcher' or played the game?
-
After you Write that your name is sam. Then Welcome Sam should pop up. Then AFTER that it should ask for your password… Why doesn't it work like that? Why does the Welcome Sam string wait until you have written the password to?
-
i dunno why u used end if after the "welcome sam" quote,that if statement is incomplete because you need an else to finish it,because basically is the name is not sam,the incomplete if will do nothing,just a waste of space…
-
I was born in mars……am i weird?
-
50 liker!!
-
after 100 tutor's
-
Gerald is not equal to Sam?! SINCE WHEN?!
-
is there any way to make it so if it is anything else it says something else?
-
@gilbert4321 ?
-
T. Dodge
-
@DOVARIRAMU when your coding it you can set the password to be whatever you want. the end result is that if you type it correctly youl get a conformation, and if you dont it will close. as long as the password you type into the console matches the one you coded it will work fine 😉
-
@Yuoruddo Different language buddy
-
@DOVARIRAMU If you would have written sam123 and did "if password = "thenewboston" then it wouldn't have done anything because you need an "else" statement. The "else" statement is used if the condition you are veryfiing is false.
ex:
If password = "thenewboston" then
console.writeline("Good pass")
else
console.writeline("Wrong pass")
end -
@Yuoruddo I was also used to the double equals when comparing (in Java). In VB though, I guess it's only 1 equals to compare lol I didn't like that either XD
-
If I want to create my password is "sam123" then what is my result?
-
Why does the single equal sign work here? Shouldn't you need a double equals?
-
@onlivegamer You could have writte Console.WriteLine("Welcome" & username)
and skip the first if statement but nevermind. I guess if was the objective of the vid xD
Leave a Reply