-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: anurag4dotnet
Message 2 in Discussion






Hi
Santosh,<o:p></o:p>


<o:p> </o:p>


When
you show your second form use this code :<o:p></o:p>


<o:p> </o:p>


        Dim frm As New Form2<o:p></o:p>


        frm.Owner = Me<o:p></o:p>


        frm.Show()<o:p></o:p>


<o:p> </o:p>


<o:p> </o:p>


And on the Button click of the second form
use this :<o:p></o:p>


<o:p> </o:p>


        Dim frmtest As Form1<o:p></o:p>


        frmtest
= Me.Owner<o:p></o:p>


       
frmtest.TextBox1.Text = "New Value"<o:p></o:p>


<o:p> </o:p>


Hope this help you .<o:p></o:p>


<o:p> </o:p>


Regards,<o:p></o:p>


Anurag Vaishy<o:p></o:p>


MCAD.NET<o:p></o:p>


<st1:City><st1:place>Delhi</st1:place></st1:City><o:p></o:p>


<o:p> </o:p>


-----Original Message-----

From: SantoshGaikwad1
[mailto:[EMAIL PROTECTED] 

Sent: <st1:date Month="9" Day="2"
Year="2004">Thursday, September 02, 2004</st1:date> <st1:time
Hour="17" Minute="52">5:52 PM</st1:time>

To: MumbaiUserGroup

Subject: How to Change Text in
TextBox of Form1, From Button Click of Form2


<o:p> </o:p>


<o:p></o:p>


 
  
  
<o:p></o:p>
  
  
  
New
  Message on MumbaiUserGroup<o:p></o:p>
  
 
 
  
  
<o:p></o:p>
  
 





<o:p> </o:p>


How to Change Text
in TextBox of Form1, From Button Click of Form2<o:p></o:p>


 
  
  
Reply

  <o:p></o:p>
  
  
  
   
    
    
 <o:p></o:p>
    
    
    
Reply to Sender   Recommend
    <o:p></o:p>
    
    
    
Message 1 in
    Discussion <o:p></o:p>
    
   
  
  
<o:p></o:p>
  
 
 
  
  
   
    
    
From: SantoshGaikwad1 <o:p></o:p>
    
   
   
    
    


    Hi Guys,

    

    i m new in VB.NET

    i have Form1 having one Button and TextBox 

    on Click of Button i m showing Form2

    upto here its fine

    now on form2 i have one Button 

    now on click of Button ( Button of Form2) i want to change the text of
    TextBox (TextBox in Form1)

    how do i achive this ?

    

    in VB6.0 it is very simple coz, there i m not working on 

    objects of Forms,

    but here i m working on Objects of Forms

    

    Pl. Help me out.

    

    Thanks in advance

    Regards.

    Santosh,<o:p></o:p>
    
   
  
  
<o:p></o:p>
  
 





View other groups in this
category. 



 language="JavaScript"  type="text/javascript">
document.write(''); 
</script>



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to