3 Jun '14

Anupa Manipal

A professional Software Developer in VB.NET - SQL Server and learner of PHP. Expertise in implementation of various projects including designing, development, coding and implementation of software applications.

0 Shares

Simple Calculator in VB.NET

This is a simple program which calculates two numbers. It has four buttons that is Addition, substraction, Multiplication, and Division. Two Textbox has inserted to add two numbers and the result displays in total text box.
This code which displays sum of two numbers:
txtResult.Text = Val(txtFirst.Text) + Val(txtSecond.Text)
Label3.Text = “Sum of two number :”

Subtraction of two numbers:
txtResult.Text = Val(txtFirst.Text) – Val(txtSecond.Text)
Label3.Text = “Subtraction of two number”

Multiplication of two numbers:
txtResult.Text = Val(txtFirst.Text) * Val(txtSecond.Text)
Label3.Text = “Multiplication of two number”

Division of two number:
txtResult.Text = Val(txtFirst.Text) / Val(txtSecond.Text)
Label3.Text = “Division of two number”

This video tutorial explains the demo of this program:

Download Source Code:

download source code

About Anupa Manipal

A professional Software Developer in VB.NET - SQL Server and learner of PHP. Expertise in implementation of various projects including designing, development, coding and implementation of software applications.

Related Posts

Leave a Reply