This is wierd,

I have an MDI child form created. Now when I open a modal from this child form to change some properties, I get a system.nullreference exception. Yet in the VS IDE it seems I am referencing the control correctly...

i.e

Dim frmChild as frmChildWindow

frmChild.TextBox1.Text = "Hello"

The editor sees textbox1 as being a control that exists, so why when I try to set its text value does it give ma a NullReferenceException?

Thanks