Visual Basics: Simple Calculator in VB
Making calculator in visual basic is as easy as ABC!.Sit back and enjoy the video Tutorial!
Make your own calculator in minutes!
Video By Mascobz
The code used for this project are:
ADD BUTTON CODE:
label1.text = “+”
textbox3.text = val (textbox1.text) + val (textbox2.text)
SUBTRACT BUTTON CODE:
label1.text = “-”
textbox3.text = val (textbox1.text) – val (textbox2.text)
Multiply Button Code:
label1.text = “x”
textbox3.text = val (textbox1.text) * val (textbox2.text)
Divide Button Code:
label1.text = “/”
textbox3.text = val (textbox1.text) / val (textbox2.text)
Clear Button Code:
If you liked this post, Subscribe to RSS Feeds or Follow us on Twittertextbox3.text = “”





