R
Richard Aubin
Hello all,
My name is Richard Aubin and I'm new to VB.NET 2003 programming. (Actually
new to programming period.)
I purchased "Sam's Teach Yourself VB.net 2003 in 21 days" as a starting
point.
My question is:
One of the exercises in the book wants me to create the following:
Build windows application that opens with 2 forms open (form1 & form2)
Each form will have a text box.
By entering text into form1's textbox, the resulting changes will
automatically be applied to form2's textbox.
By entering text info form2's textbox, the resulting changes will
automatically be applied to form1's textbox.
Hence keeping the 2 forms synchronized.
I've been racking my brains for over 2 hours on this one, and can't seem to
come up with a way for form2 to get data from form1.
Getting form1 to fetch data from form2 is no problem.
It's the reverse that I can't figure out.
In form1 I create an object for form2 (Dim frmTwo as new Form2)
But I can't create an object for form1 on form2.
Can anyone point me in the right direction please?
Thanks.
Richard Aubin
My name is Richard Aubin and I'm new to VB.NET 2003 programming. (Actually
new to programming period.)
I purchased "Sam's Teach Yourself VB.net 2003 in 21 days" as a starting
point.
My question is:
One of the exercises in the book wants me to create the following:
Build windows application that opens with 2 forms open (form1 & form2)
Each form will have a text box.
By entering text into form1's textbox, the resulting changes will
automatically be applied to form2's textbox.
By entering text info form2's textbox, the resulting changes will
automatically be applied to form1's textbox.
Hence keeping the 2 forms synchronized.
I've been racking my brains for over 2 hours on this one, and can't seem to
come up with a way for form2 to get data from form1.
Getting form1 to fetch data from form2 is no problem.
It's the reverse that I can't figure out.
In form1 I create an object for form2 (Dim frmTwo as new Form2)
But I can't create an object for form1 on form2.
Can anyone point me in the right direction please?
Thanks.
Richard Aubin