>In A.vb >--------------- >storageAdvice = New Quotation_Add >storageAdvice.MdiParent = Me >storageAdvice.Show() > > >In storageAdvice.vb >------------- > > > B.Show() > > > >In B.vb >--------------- > >storageAdvice.TextBox1.Text = "aaa" > > > >But after the result storageAdvice.TextBox1.Text is blank > >If you want to access a Textbox in the 'parent' form from form B pass a reference to it in the constructor. Form B:
Public Class B Public caller As Quotation_Add Public Sub New(ByVal caller As Quotation_Add) InitializeComponent() Me.caller = caller End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click caller.TextBox1.Text = "aaa" End Sub End ClassCreate with
Dim aB As New B(Me) aB.Show()