|
-
Jun 15th, 2003, 10:57 PM
#1
Thread Starter
Hyperactive Member
relationship
I run my VB.NET program. The Startup form is the Form1. Form1 has a TextBox1 control.
Then I show the Form2. I put this code to change the Form1's TextBox1 Text.
Dim aForm As New Form1()
aForm.TextBox1.Text = "The quick brown fox"
But the Form1's TextBox1 display nothing.
Kindly help with this code?
-
Jun 16th, 2003, 02:55 AM
#2
Fanatic Member
Dim frmForm As New Form2()
frmForm.TextBox1.Text = "hello"
frmForm.Show()
works for me.
Nick
-
Jun 16th, 2003, 03:03 AM
#3
Sleep mode
Originally posted by nswan
Dim frmForm As New Form2()
frmForm.TextBox1.Text = "hello"
frmForm.Show()
works for me.
Nick
He's doing the opposite I think . Try this post , it should solve your problem . http://www.vbforums.com/showthread.p...values+to+form
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
|