How to Make a Simple Calculator in VB 2008/2010

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,829
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 15, 2009

~Please Rate, Comment, and Subscribe~
This video theaches you how to make a simple calculator in VB 2008, here are the codes:

Add:
Label1.text = "+"
Textbox3.text = val(Textbox1.text) + val(textbox2.text)

Subtract:
Label1.text = "-"
Textbox3.text = val(Textbox1.text) - val(textbox2.text)

Multiply:
Label1.text = "*"
Textbox3.text = val(Textbox1.text) * val(textbox2.text)

Divide:
Label1.text = "/"
Textbox3.text = val(Textbox1.text) / val(textbox2.text)

  • likes, 2 dislikes

Link to this comment:

Share to:
see all

All Comments (11)

Sign In or Sign Up now to post a comment!
  • this Not Simple: 233 + 45543 * 78885 = ?

  • :/

  • Bad Tutorial.

  • does anyone know about the codes for clear and compute

  • Nice... Like !!

    And Thank.... XD

  • thanks

  • nice

  • 5 out of 5 nice video very clear and understanding and by the way nice song

  • thank you very very very much!!!

  • i love the song....who sang it.....

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more