Showing Windows formin VB6 MDI asits child or Making VB6 MDI asparentof Windows forms

pravvu

New member
Joined
Jun 18, 2004
Messages
1
Programming Experience
3-5
Hi...

I have an requirement, where in, We are using a EXE developed in VB6 to show .NET Windows forms.

What I have: a) A VB6 MDI form and b) A .NET Windows form.

Requirement: VB6 MDI form is the container of the whole application and certain forms are developed in .NET, we have to integrate them.

Problem:
a) I am unable to make the '.NET Windows form' as a MDI child of 'VB6 MDI form'
b) I am unable to set the 'VB6 MDI form' as Owner of the '.NET Windows form'

Kindly provide a solution to this at the earliest, solution for either problem (a) or (b) should suffice my requirement.

Thank you,

Praveen
 
actually i have no idea about that..
its a little bit hard..

why wont you make your vb6 mdi form in a .NET?

coz in .NET it's like this

VB.NET:
 dim x as new mdichild
 x.mdiparent = me
 x.show
 
Back
Top