Visual Studio 2013 – VB – Calculator Tutorial

Visual Studio 2013 – VB – Calculator Tutorial (open source)


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 = “+”

-: “”



SecondNumber = Val(TextBox1.Text)
If ArithemeticProcess = “+” Then
AnswerNumber = FirstNumber + SecondNumber
End If

TextBox1.Text = AnswerNumber


qaghzz says:

Thank you very much.

MeihuiTV says:

New subbies

noy says:

I think you sucks

guestBLOX says:

yay thx

MeihuiTV says:

Thank you for this video it really help for me in our subject

Tyblat says:

Thank you so much you helped me for my assignment

Rick Allen says:

awesome!! thank you for sharing.. 😀

bornica10 says:

Awesome Music lol

Mahdi Nazari says:

thank you it was a useful video

ِPeyama Islame says:

very god thanx

Vivaan Mathur says:

Thank You very much!!

Q8 AL-7ADDAD says:

thank you for the great short video:)

Karen Prewitt says:

thank you for your help

ima Borg says:

how did you clone the botten in 1:27

davidjsteele says:

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.

Sadaf Ali says:

hey i have a problem in my (=) button its not working ?
as i copied the exact coding?

Vlado Tasevski says:

Cool Video!

Touhid Hussain says:


notsonathan says:

whats the code for delete all?

Shmuel Riger says:

it’s incredible

Eyal Geulayev says:

Visual Studio 2013 – VB – Calculator Totorial

Vivaan Mathur says:

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

 Write a comment


Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!