Hi. I built a form and several classes that are used by the code in the form. A bunch of properties can be set for the form and then the form can be displayed modally.

I want to wrap all this functionality into an OCX, so I can place the control on any other form, and have the control not be visible, then pop it up with a method call when I want it (similar to how the common dialog control works).

So how do I create a control that IS a form, that can be placed on another form?

Thanks everyone for your help.

Kevin