Visual Studio 2013 – VB – Calculator Tutorial (open source)
Codes:
Every Number Button:
TextBox1.Text = TextBox1.Text & “x”
C: TextBox1.Clear()
Under Public Class:
Dim FirstNumber As Single
Dim SecondNumber AS Single
Dim AnswerNumber As Single
Dim ArithemeticProcess As String
+: FirstNumber = Val(TextBox1.Text)
TextBox1.Text = “0”
ArithemeticProcess = “+”
-: “”
x:””
/:””
=:
SecondNumber = Val(TextBox1.Text)
If ArithemeticProcess = “+” Then
AnswerNumber = FirstNumber + SecondNumber
End If
“”-
“”*
“”/
TextBox1.Text = AnswerNumber
Amazon Auto Links: No products found.
Thank you very much.
New subbies
I think you sucks
yay thx
Thank you for this video it really help for me in our subject
Thank you so much you helped me for my assignment
awesome!! thank you for sharing.. 😀
Awesome Music lol
thank you it was a useful video
very god thanx
Thank You very much!!
thank you for the great short video:)
thank you for your help
how did you clone the botten in 1:27
To add percentage. Add a new button, then declare Dim myPercent As String just below the Dim ArithmeticProcess As String on line 6, double click the percentage button and add myPercent = TextBox1.Text / TextBox1.Text * 100 in the Sub.
hey i have a problem in my (=) button its not working ?
as i copied the exact coding?
Cool Video!
Thanks
whats the code for delete all?
it’s incredible
Visual Studio 2013 – VB – Calculator Totorial
Hello, I have some assignment for my boss. will you help me with that? if yes then I will give you my e-mail id