|
-
Mar 8th, 2002, 04:29 PM
#1
Thread Starter
New Member
Passing info between forms
In vb6 (in Form2's code window)-
TextBox1.Text = Form1.CommandButton1.Caption
How do you pass information between 2 forms in a vb.net
project?
TIA,
Rush
-
Mar 8th, 2002, 04:59 PM
#2
Frenzied Member
you can make a class file to store the info (its the true OOP way)
-
Mar 8th, 2002, 09:17 PM
#3
New Member
dim frmForm1 as new Form1
TextBox1.Text = frmForm1.Button1.Text
By the looks of your name it looks like you are in a rush.
But still pick up a book and learn the easy stuff. Unless you don't like declaring new instance of forms then do VB6.
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
|