Hello Everyone:
I am trying to have the user enter a number (integer) into a text box, after clicking on a button I want the number entered in the text box to appear in another text box?
Any Ideas?
Thanks Art
Printable View
Hello Everyone:
I am trying to have the user enter a number (integer) into a text box, after clicking on a button I want the number entered in the text box to appear in another text box?
Any Ideas?
Thanks Art
VB Code:
Textbox2.Text = Textbox1.Text
I feel like I'm missing something.
Maybe I said it wrong, what I really want to do is to take the numbers from boxs 1 - 3 and average them in box 4? I was trying to make it easy for you, but I guess i made it to easy?
Thanks
Art
Get the Text from each TextBox, convert the strings to numbers, add them, divide them by the number of numbers, put the result in the last TextBox. Are there any steps there that you don't know how to accomplish in code?
Sorry I know what your saying, but I don't know how to code it?
Thanks
Art
I am new to 2003.net
You don't know how to code any of it? I'm afraid I don't believe that. I'm sure you know how to get and set the Text property of a TextBox, so that's the first and last steps covered. I'd guess that you also know how to add and divide numbers too.
heres what I have so far, i don't know what I'm doing wrong? see attached?
I am just starting VB.net 2003
Thanks
Art
Can you please just post the relevant code rather than attaching a project? It's nice and easy to glance at code posted in [Highlight=VB] tags and I'm more than happy to do that but I, for one, will rarely download someone else's project without very good reason. I haven't looked so I don't know but just in case your ZIP file contains binary files, which it will if you simply zipped up a project, then you're breaking the forum rules.
Sorry about that, i am not sure where and how many mistakes i have, so i through it would be easier to go over the whole thing?
Thanks
Art