G
Guest
Hi,
I want to know if I'm doing something wrong. I'm inheriting frmChild
from frmBase in Project1. frmBase is referring to its MdiParent in a function
call from Form_Resize event. When I try to open the designer for the frmChild
it throws an exception for this, saying "Object reference not set to an
instance of an object."
Why is this happening. Does that mean I cannot use any runtime
instanciation in a base form? Or do I have to turn something off? Why is the
code executing in the designer. If I give a message box in the base form, it
pops up when I am loading the Child form!!!!!
Any help is appreciated..
Thanx,
Debi
I want to know if I'm doing something wrong. I'm inheriting frmChild
from frmBase in Project1. frmBase is referring to its MdiParent in a function
call from Form_Resize event. When I try to open the designer for the frmChild
it throws an exception for this, saying "Object reference not set to an
instance of an object."
Why is this happening. Does that mean I cannot use any runtime
instanciation in a base form? Or do I have to turn something off? Why is the
code executing in the designer. If I give a message box in the base form, it
pops up when I am loading the Child form!!!!!
Any help is appreciated..
Thanx,
Debi