Im currently using the 2002 build of .net.
For example,
Lets say I have two forms:
___________________________
| Form 1 X |
|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|
| Enter Age: [textboxage] |
| |
| [commandshowform] |
|___________________________|
^^ Where textboxage is a textbox that the user inputs their age into
^^ Where commandshowform is a command button that shows form2 and hides the current form
___________________________
| Form 2 X |
|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|
| YOU ARE: [label1] |
| |
| [commandexit] |
|___________________________|
^^ Where label1 displays the text typed by the user in form1's textboxage. Now in VB6 all you had to do was go label1.text = form1.textboxage.text BUT in .NET you cant do that!
^^ Where commandexit closes the program
Now my question is how do you get Form2's label1 to show the data that has been typed in form1?! Ive been trying everything and i cant get it to work! Damn .nET!
Any help would be much appreciated.
For example,
Lets say I have two forms:
___________________________
| Form 1 X |
|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|
| Enter Age: [textboxage] |
| |
| [commandshowform] |
|___________________________|
^^ Where textboxage is a textbox that the user inputs their age into
^^ Where commandshowform is a command button that shows form2 and hides the current form
___________________________
| Form 2 X |
|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|
| YOU ARE: [label1] |
| |
| [commandexit] |
|___________________________|
^^ Where label1 displays the text typed by the user in form1's textboxage. Now in VB6 all you had to do was go label1.text = form1.textboxage.text BUT in .NET you cant do that!
^^ Where commandexit closes the program
Now my question is how do you get Form2's label1 to show the data that has been typed in form1?! Ive been trying everything and i cant get it to work! Damn .nET!
Any help would be much appreciated.