Results 1 to 4 of 4

Thread: [2005] transferring to different form

Hybrid View

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2006
    Posts
    3

    Cool [2005] transferring to different form

    Hi,
    I have a project with two forms; I want to close the first and open the second (bringing 3 variable values to the second). I thought what I needed to do was: DataForm.Show() and the second form would display; apparently I am wrong. Any help would be appreciated. TIA

    Paul
    Paul
    Visual Studio 2005/.NET Framework 2.0

  2. #2
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,521

    Re: [2005] transferring to different form

    Here is a 4 part article about working with multiple forms. This should help you out.
    Visual Studio Team Edition 2005
    GDI+ Links: Bob Powell VB.Net Heaven
    API Links: All API Pinvoke.Net
    VB6 to VB.Net: Visual Basic 6 to .NET Function Equivalents (Thread)

  3. #3
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,168

    Re: [2005] transferring to different form

    May want to check this one to:

    http://www.vbforums.com/showthread.php?t=397851

  4. #4
    "The" RedHeadedLefty
    Join Date
    Aug 2005
    Location
    College Station, TX Preferred Nickname: Gig Current Mood: Just Peachy Turnons: String Manipulation
    Posts
    4,495

    Re: [2005] transferring to different form

    Modify the New() constructor of the second form to accept the three values as parameters, that way you just pass in the values when you declare a new instance of the 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
  •  



Click Here to Expand Forum to Full Width