CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2001
    Posts
    4

    Passing variables between MDI application forms

    Is it possible to pass the value of a user entered variable from one form in an MDI application to anther? How do I go about doing this?


  2. #2
    Join Date
    May 2001
    Posts
    46

    Re: Passing variables between MDI application forms

    In VB this is better handled with global variables:


    ' in module
    public UserName as string

    ' In form1
    Sub Open_Click
    UserName = "xxx"

    Load form2
    form2.Show

    End Sub




    Now you can handle the variable (s) easier.


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

Featured