How to transfer a value from one form to a new form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bluepiper
    New Member
    • Sep 2007
    • 13

    How to transfer a value from one form to a new form

    Hi, i'm a newbie here. I have a problem.. I want to import the value of the text1 in form1 to text1 of form 2. This should occur when command button in form1 was click and opens form2. Please help me, i need for my project. Thank you.
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    hi ...

    welcome to TSDN ...

    please specify your problem more clearly ... what programming language do you use? do you have some code already, may be you want to post that code?

    kind regards

    Comment

    • bluepiper
      New Member
      • Sep 2007
      • 13

      #3
      Sir,
      Im using VB 6.0

      The problem is have two forms the the first one (name it Form1) include one textbox control and button , and when pressing button I want to pass the textbox value to another text control in the second form (name it Form2). Please help me. Thanks

      Comment

      • gits
        Recognized Expert Moderator Expert
        • May 2007
        • 5390

        #4
        ok :) ... you should post your question in the VB-Forum where the experts there may help you much better ...

        kind regards

        Comment

        Working...