|
-
Sep 20th, 2006, 09:33 PM
#1
Thread Starter
Hyperactive Member
[02/03] Trans data from label to label
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
SLEEP: A Totally Inadequate Substation For Caffeine!
-
Sep 20th, 2006, 09:40 PM
#2
Frenzied Member
Re: [02/03] Trans data from label to label
VB Code:
Textbox2.Text = Textbox1.Text
I feel like I'm missing something.
-
Sep 20th, 2006, 09:44 PM
#3
Thread Starter
Hyperactive Member
Re: [02/03] Trans data from label to label
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
SLEEP: A Totally Inadequate Substation For Caffeine!
-
Sep 20th, 2006, 10:11 PM
#4
Re: [02/03] Trans data from label to label
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?
-
Sep 20th, 2006, 10:24 PM
#5
Thread Starter
Hyperactive Member
Re: [02/03] Trans data from label to label
Sorry I know what your saying, but I don't know how to code it?
Thanks
Art
I am new to 2003.net
SLEEP: A Totally Inadequate Substation For Caffeine!
-
Sep 20th, 2006, 10:52 PM
#6
Re: [02/03] Trans data from label to label
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.
-
Sep 20th, 2006, 11:02 PM
#7
Thread Starter
Hyperactive Member
Re: [02/03] Trans data from label to label
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
SLEEP: A Totally Inadequate Substation For Caffeine!
-
Sep 20th, 2006, 11:06 PM
#8
Re: [02/03] Trans data from label to label
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.
-
Sep 20th, 2006, 11:14 PM
#9
Thread Starter
Hyperactive Member
Re: [02/03] Trans data from label to label
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
SLEEP: A Totally Inadequate Substation For Caffeine!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|