Results 1 to 2 of 2

Thread: passing information

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2001
    Posts
    2
    Hi all.

    I want to pass information from one form to another.
    Somehow I can't get it done.


    Regards,


    Ton

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    If both Forms are in the same projects(same application) than you can use public variables.
    Code:
    'in form1
    Public txt As String
    txt = "dgffggh"
    
    'access it from form2
    Form1.txt = "odfhf"
    'or
    form2.caption =  Form1.txt
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

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