Accessing Mdi Child Form Control form another one

  • Thread starter Thread starter Kurtulus
  • Start date Start date
K

Kurtulus

Hi;
I have problem for very long time. I have one mdiparent form and
several mdichild form. I have tried to change one control on the mdi
parent form form anther one. However I have encountered an error which
is "An unhandled exception of type 'System.NullReferenceException'
occurred in .....exe
Additional information: Object reference not set to an instance of an
object."
Can you tell me what the solution and problem is?
Thank you for your consideration.
 
Hi,

Your Subject Line and Problem description are conflicting.

Are you trying to access the MDI Parent or the MDI Child ? And from
which form are you trying to access this ? Please clarify and someone
might be able to help you.
From the exception, it is apparent that an object has not been
instantiated at the place you are trying to update it.

Regards,

Cerebrus.
 
Hi,
Actually, I have tried all of them which are form Parent to child, from
child to parent and from child to child (actually one procedure in the
child form call another procedure in the module and module change a
textbox text in another mdi child form)
 
Hi,
Actually, I have tried all of them which are form Parent to child, from
child to parent and from child to child (actually one procedure in the
child form call another procedure in the module and module change a
textbox text in another mdi child form)
Thanks.
 
Back
Top