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

Visual Basic Tutorial – 55 – Calculator Part 2
by
Tags:
Comments
9 responses to “Visual Basic Tutorial – 55 – Calculator Part 2”
-
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.
-
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.
-
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)'
-
just use x = y + z or x = Cint(y) + Cint(z)
-
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 😉 -
'Add' is not declared. It may be inaccessible due to its protection level. I can't use the Add Command!!!!!
-
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 SubDoesnt this seem much easier? just copy this into each sub and change what answer.text is = to…
-
cool….
-
nice and awesome…..
Leave a Reply