Good Day!.
Im, a new programmer.
I want that the value of my textbox6 in form1 will add to the value of the textbox6 in form2. can anyone help me. :(
bernardz26 0 Newbie Poster
Recommended Answers
Jump to Post— thines01 401What do you mean by "Value"?
Are you concatenating strings or adding numbers?
If you are adding numbers, have you converted the form2.textbox6.Text to a numeric value?If you mean string + string, did you?: form1.textbox6.Text += form2.textbox6.Text;
Jump to Post— poojavb 29well bernardz26! there are two simple ways to perform this , one is to declare a global or public variable and just access it at any part of your prog , and second way is to call the form then the call the control , here are both ways to …
All 7 Replies
thines01 401 Postaholic Team Colleague Featured Poster
M.Waqas Aslam 67 Posting Pro in Training Featured Poster
poojavb 29 Junior Poster
Jx_Man commented: Right. Val is vb6 function. +14
Ctechnology24 0 Light Poster
Begginnerdev 256 Junior Poster
thines01 401 Postaholic Team Colleague Featured Poster
Mitja Bonca 557 Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.