Visual Basic Tutorial – 55 – Calculator Part 2

[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


Posted

in

by

Tags:

Comments

9 responses to “Visual Basic Tutorial – 55 – Calculator Part 2”

  1. buddyroach Avatar

    you should make one on progress bars. the right way of doing it where it is relevant to the data its representing and not just jerry-rigged like most ppl do. i want to learn how to use progress bars for web browsers, data and even webkitbrowser. thanks.

  2. bigg hood Avatar

    Is it necessary to use the "Ctype" thing in your parameters of the function you are using. My code seems to work fine when i just do "Dim answer As Double = multiply(txtNum1.Text, txtNum2.Text)" for example.

  3. XenoContact Avatar

    Add is not a command. Rewatch the tutorial carefully, at the start he creates a private sub CALLED 'Add' then he calls it using 'Add(arguments)'

  4. Robus Subnor Avatar

    just use x = y + z or x = Cint(y) + Cint(z)

  5. Robus Subnor Avatar

    Private Sub btnAdd_Click(sender As Object, e As EventArgs) Handles btnAdd.Click
    answer.Text = Csng(num1) + Csng(num2)
    End sub
    would work too….
    btw Csng coverts into single 😉

  6. Humam Ghazal Avatar

    'Add' is not declared. It may be inaccessible due to its protection level. I can't use the Add Command!!!!!

  7. LegenKiller666 Avatar

    Private Sub btnAdd_Click(sender As Object, e As EventArgs) Handles btnAdd.Click
    Dim num1 As Double = textNum1.Text
    Dim num2 As Double = textNum2.Text
    answer.Text = num1 + num2
    End Sub

    Doesnt this seem much easier? just copy this into each sub and change what answer.text is = to…

  8. mrmariobear Avatar

    nice and awesome…..

Leave a Reply

Your email address will not be published. Required fields are marked *