Visual Basic 2010 Express Tutorial 5 - Simple Calculator Part 2 - RadioButtons

Loading...

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

Uploaded by on Jul 12, 2010

The code can be downloaded at http://www.schoolfreeware.com

RadioButtons hold a Boolean value of either true or false (Checked or Unchecked)

Only one RadioButton, in a group can be checked at one time

  • likes, 1 dislikes

Link to this comment:

Share to:

Top Comments

  • God, we're doing Visual Basics express in school, and I was so lost. These tutorials have helped me A LOT. In the books they say "Go to the blahblah and enter in blahhdyblahblahhh" And I'm like WTF I DON'T KNOW WHAT THE BLAHBLAH IS!?!?!

    THANKYOU <3

  • can't put the LabelSign.Text = "+"

    it says "Error 1 'LabelSign' is not declared. It may be inaccessible due to its protection level."

    how do i fix this?

see all

All Comments (45)

Sign In or Sign Up now to post a comment!
  • Thanks a lot

  • @xGlitchersRUs Man just put Label2.Text = "/" Label1.Text = Val(TextBox1.Text) / Val(TextBox2.Text) and if you want + you set Label2.Text = "+" Label1.Text = Val(TextBox1.Text) + Val(TextBox2.Text)

  • @assassin2601 I don't understand what you want fixed?.125 = 0.125 there is no difference other than one 0.... as far as i know, both are correct.

  • I have one problem. It is also visible on this video. When sb using this calculator divides 1 by 8 he gets .125, not 0.125 . How to fix it?

  • Homework done :)

  • For all of you who's code will only add, you must delete the answer = num1 + num2 under the if statements which he forgot to tell you to delete. I had this problem.

  • Thanks these help a lot

  • By The Way i noticed now that only The Subtract button works..hmm..i'll let you hear if i fix this.

  • Hello! I got a Little bit of a problem here, the radiobutton "Multiply" and "divide" Does Not work for me even though i've written the "Elseif RadiobuttonMult-Div.Checked = true Then - Answer = Num1 * - / Num2" the radiobuttons do change the sign to an "X" and "/" but it doesn't Calculate with Multiply and/or Divide. I Really Appreciate some help and Thanks for the Vid it was Great

    PS. I Did this ones and it worked great but when i saved it, something fucked it up, i did same now and doesn't wk

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