Functions
Basic Calculator created in Visual Basic 6.0
Simple Calculator with 2 Text Box for two input.
With the function of Addition, Subtraction, Multiplication and Division.
You can download Visual Basic 6.0 Tutorials 3 below :)
DOWNLOAD
------------------
PLEASE REPORT A DEAD-LINK
------------------
Vb 6.0 | Visual Basic Tutorials
#THECODES
(Codes For (addition) SIGN)
Private Sub Command1_Click()
Text3.Text = Val(Text1.Text) + Val(Text2.Text)
End Sub
(Codes For -(subtraction) SIGN)
Text3.Text = Val(Text1.Text) + Val(Text2.Text)
End Sub
(Codes For -(subtraction) SIGN)
Private Sub Command2_Click()
Text3.Text = Val(Text1.Text) - Val(Text2.Text)
End Sub
(Codes For *(Multiplication) SIGN)
Text3.Text = Val(Text1.Text) - Val(Text2.Text)
End Sub
(Codes For *(Multiplication) SIGN)
Private Sub Command3_Click()
Text3.Text = Val(Text1.Text) * Val(Text2.Text)
End Sub
(Codes For / (division) SIGN)
Text3.Text = Val(Text1.Text) * Val(Text2.Text)
End Sub
(Codes For / (division) SIGN)
Private Sub Command4_Click()
Text3.Text = Val(Text1.Text) / Val(Text2.Text)
End Sub
Text3.Text = Val(Text1.Text) / Val(Text2.Text)
End Sub
Easy! | Comment | Follow Us on G+ | Like us on Facebook
Post a Comment