Hi,
I faced a problem where i need to retrieve a MDIActiveChild's method when a i take an action on the MDI Parent form .

Example:
Method in the MDI child form "FrmChild"
Public sub SayMyFormName()
msgbox ("FrmChild")
End sub

Action on MDI Parent
Private Sub ToolBar1_ButtonClick......
'I can't declare frmActive as FrmChild because they are
' many forms here and all the forms here contain a sub
'name SayMyFormName()

Dim frmActive As Form = Me.ActiveMdiChild

'so i'll get error when i try get the method from child form
'but it stil generate correct msgbox when run the
'application by ignore the error prompted
'Error occur becoz the Form class does not have the
' SayMyFormName sub procedure

frmActive.SayMyFormName()

end sub

So..Anybody outhere can give me a hand on this? How do i retrieve the active child method from the MDI parent action without explicitly declare the frmActive as currenrform class.

Thanx in advance