Suppose you have created 2 users controls in the same activeX control project, 'Son' and 'Daughter'. An instance of Son is placed on a regular container - a form on a standard exe project. A method of Son is provided to create an instance of Daughter:

Public Function MakeDaughter() As Daughter

Dim d As Daughter
Set d = CreateObject("Project1.Daughter")
Set MakeDaughter = d

End Function

The idea is that I can call

Dim daddysDaughter As Object
'(because VB doesn't like a declaration as Daughter)
Set daddysDaughter = Son1.MakeDaughter()

from the parent application and daddy gets a nice reference to the daughter just created. So far so good, but... since my daughter is an ActiveX object, I need to display it somehow. My app requires Daughter to be displayed in a new window (read form), but as long as I know how to 'show' daughter, I can display it anywhere.

Anyone any good idea? Thanks!

Radu