Results 1 to 3 of 3

Thread: Passing info between forms

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2002
    Posts
    4

    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

  2. #2

  3. #3
    New Member
    Join Date
    Mar 2002
    Posts
    11
    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
  •  



Click Here to Expand Forum to Full Width