-
1 Attachment(s)
Form1's Textbox
I have two forms(Form1 & Form2). Im in the Form2 and i use this code to add text on the Form1's Textbox1 but this code doesn't work.
Dim aForm As New Form1()
aForm.TextBox1.Text = TextBox1.Text
Please check the file attached with this topic before answering this post.
-
I can't check your code because I have a project open that I'm working on. Did you look at my post?
http://vbforums.com/showthread.php?threadid=254809
Maybe that will help you
-
Hi
Your code does not work because you are creating a new instance of the form, try passing the form obj from form1 to form2 instead