Friday, April 26, 2013

Friday, April 12, 2013

Visual Basic Calculator latest new

The visual basic calculator I was talking about,I have added a bit of new functions to it like x^2 and all,and have uploaded a new one of it. You can download it from here

http://my.rapidshare.com/abhijeet715/9560

Sunday, April 7, 2013

Visual Basic Calculator

This is useful to the youngesters of my school as they can learn about visual basic and use this readymade calculator of visual basic which has been made by me.
Its not a very tough job if you know all the commands of visual basic.
to make a calculator:-

  • 1st open visual basic
  • then open standard.exe
  • then make your layout as you wish
  • then make the add,subtract,multiply and divide buttons
  • put the follwing command for the add button



NUM1 = Text1.Text
NUM2 = Text2.Text
RESULT = Val(NUM1) + Val(NUM2)
Text3.Text = RESULT

  • put the following command for the subtract button

NUM1 = Text1.Text
NUM2 = Text2.Text
RESULT = Val(NUM1) - Val(NUM2)
Text3.Text = RESULT

  • put the followingcommand for the multiply button
NUM1 = Text1.Text
NUM2 = Text2.Text
RESULT = Val(NUM1) * Val(NUM2)
Text3.Text = RESULT

  • put the following command for divide button

NUM1 = Text1.Text
NUM2 = Text2.Text
RESULT = Val(NUM1) / Val(NUM2)
Text3.Text = RESULT

DONE!!!!!

for a better calculator,you can download it from here