Hi... Now You at Site WE ARE KNOWLEDGE... Having Knowledge in here... in here you will getting many IT knowledge like : pascal, c++, vb6, cobol, php, mysql, and other program language. you will getting FREE...You will getting IT knowledge about it..Let's do Read it...have fun !!
This time I want giving you tutorial about conditional VISUAL BASIC 6 is "IF"
This program I make with economical... If you want surf... Try make self...
But You must read it, because you must understand elementer...
First open VISUAL BASIC 6 program... previosly for making the program you musthaving this aplication.. if it is.. you can make it..don't forget you must using VB version 6, in order to to result same with my mind...
And make like this
You can use facility "TOOLBOX"
Double Click in text1, text 2 or command1...
And you can COPY This program and PASTE in CODE.I hope you write self, because in order to more easely to learn..
And Result Like This
Thanks for your visitors and the readers..
don't forgert toi back again..
see you later...
This time I want giving you tutorial about conditional VISUAL BASIC 6 is "IF"
This program I make with economical... If you want surf... Try make self...
But You must read it, because you must understand elementer...
First open VISUAL BASIC 6 program... previosly for making the program you musthaving this aplication.. if it is.. you can make it..don't forget you must using VB version 6, in order to to result same with my mind...
And make like this
You can use facility "TOOLBOX"
You can change name in PROPERTIES "CAPTOIN"
Then you must input program code with method :
click menu view >> code..
OR
Double Click in text1, text 2 or command1...
And you can COPY This program and PASTE in CODE.I hope you write self, because in order to more easely to learn..
Private Sub Command1_Click()
If (Text1.Text >= 90) Then
Text2.Text = "VERY GOOD"
Else
If (Text1.Text >= 70) Then
Text2.Text = "GOOD"
Else
If (Text1.Text >= 40) Then
Text2.Text = "BAD"
Else
Text2.Text = "VERY BAD"
End If
End If
End If
End Sub
And if done..
you can execution this program...
First your input 15 and result is VERY BADD
Second your input 52 and result is BAD
Thrid your input 97 and result is VERY GOOD
Why ????
Because I input in code program..
if score more than 90 "VERY GOOD"
if score more than 70 "GOOD"
And Continue...
Ok... just it.. Thanks for your visit..
I hope you like with this article...First your input 15 and result is VERY BADD
Second your input 52 and result is BAD
Why ????
Because I input in code program..
if score more than 90 "VERY GOOD"
if score more than 70 "GOOD"
And Continue...
Ok... just it.. Thanks for your visit..
Thanks for your visitors and the readers..
don't forgert toi back again..
see you later...
No comments:
Post a Comment