Results 1 to 3 of 3

Thread: Passing Info from textboxes in different forms

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2011
    Posts
    44

    Passing Info from textboxes in different forms

    Hi,
    Im looking to pass information from a number of textboxes in one form to a number of textboxes in another form using Visual Basic 2008. I used to code in vb6 a few years back but have forgotten most of what I learned. I imagine that this is a basic enough question. Any help would be greatly appreciated.

    Adam.

  2. #2
    Member srspiewarmer's Avatar
    Join Date
    Oct 2010
    Location
    Manila, Philippines.
    Posts
    58

    Re: Passing Info from textboxes in different forms

    lol Code:
    1. Dim tValue as String = Textbox1.Text
    2. Form2.Textbox1.Text = tValue
    3. Form2.Show()

  3. #3
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: Passing Info from textboxes in different forms

    You have a variety of alternatives to choose from. Here's a thread on them:

    http://www.vbforums.com/showthread.php?t=466253
    My usual boring signature: Nothing

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