#1
I'm making a calculator for a project & I'm just wanting a little of help to kick start me off:

I'm wanting to know how to do a

Entry 1:
No. 5 which is in:
[textbox.txt]

Multiplied (when clicking multiply the box must keep the original number in) by an:

Entry 2:
No. 2 which is in the same textbox also:
[textbox.txt]

Entry 3: Answer 10 displayed in the
[textbox.txt]
As an interger or shorthand integer?

Anyone here good at Vb?
Quote by demoniacfashion
Is there any black people on UG?
I don't think a lot of black people play guitar anymore.

Quote by Oasis-fanatic
they all kinda went extinct after hendrix really.


Needless to say, I lol'ed.

Quote by human panda
Appart from being on UG or wanking, thats what i mostly do
#2
I'm not very good with vb, but...
You could use two variables, then when you click on the button (+ - * \) it puts the textbox.Text as one of the variables, then you'd input your second number, and when you click an 'equals' button (=), put textbox.text as the second variable and multiply (or + - \) both variables.

or something like that...hope it helps


EDIT

Forget what i said, this should help.
It's for vb .net but it's basically the same as any other version of vb
Last edited by Gruff at Mar 28, 2008,