I have a DLL which contains a Form (frmChild). I have a separate project (Standard EXE) which contains the MDI Form. I would like to load the frmChild into the MDI. Does anyone have any thoughts.

This is what I have so far.

DLL (ChildProj.Interface)
DLL (frmChild)
-------------------------------

Public Sub LoadForm() as Object

Set LoadForm = TransferObject(frmChild)

End Sub

Private Sub TransferObject(ByVal tForm as Form)

Set TransferObject = tForm

End Sub

EXE (MdiProj)
-----------------

Private Sub MDILoad()

Dim Obj as New ChildProj.Interface
Dim frmObj as Form

Set frmObj = Obj.LoadForm

frmObj.Caption = "I Hope This Works"

frmObj.Show '-> This fails, it says that it cannot find
'-> a MDI Form. This makes me think that
'-> the Form Object was passed by REF.

End Sub