My project uses a MDI parent form and several child forms. I need to call a
public sub in the parent form (which is also the startup object) from one of
the child forms in order to change the appearance of the toolbar under
certain conditions. So far I have not figured out how to reference the sub
from another form.
One member of this group suggested I use the statement:
CType(Me.Owner, frmMain).tbMainReset()
where "tbMainReset" is a public sub in the parent form. However, running
this statement gives me the error: "Object reference not set to an instance
of an object."
Thanks for any advice.
Steve Enzer