title: How to pass the value to current active form
body: <p>Using VB.Net</p>
  
  <p>I have main form name as form1 and popup form name as form2</p>
  
  <p>Form1 </p>
  
  <p><code>tab button</code> - for creating mulitple copy of form1 at runtime...</p>
  
  <p>Creation of mulitple from1 at runtime code</p>
  
  <p>form1 code</p>
  
  <pre><code>Dim mEntryForm As form1
          mEntryForm = New form1
          mEntryForm.Show()
  </code></pre>
  
  <p>The above code is creating a same copy of form1 at runtime.</p>
  
  <p>Now i want to pass the value from popup form to current activeform</p>
  
  <p>Code for sending the value to form1 from popup form (form2)</p>
  
  <p>form2code</p>
  
  <pre><code>form1.textbox1.text = "100"
  </code></pre>
  
  <p>The above code is going to <code>form1 textbox</code>, instead of active form (<code>mentryform</code>)</p>
  
  <p>How to solve this problem.</p>
  
  <p>Need Vb.net code help</p>