Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COM Urgent Pls !!!!

Status
Not open for further replies.

fathimasulthan

Programmer
Feb 19, 2001
17
SG
HI All,
I am have two ActivexExe project.

Project 1 contains
Form 1 and
Form 2
mdimain form

Project 2 contains
Form 3
Form 4


All the forms Form1, form 2, form 3 , form 4 are Child forms.

I have No problem when viewing the forms in Project 1. From project 1 I have to call Form3 from project 2.

I have following probelms :

When calling the from 3 from Form1 of project 1, I am getting the following error
There is no mdiParent from in project 2. But I need the Form3 to be displayed as a child form of mdiMain form of Project 1

Hope u got it..

Please help by giving ur suggestions
Thanks in advance
 
Forms are VB objects rather than true COM objects (I imagine that you are passing the form as an Object). This might work better if you created a class wrapper to place around your form (so that the form could remain native to its EXE) and then you would call functions on the class wrapper that would retrieve any information you needed from the forms. - Jeff Marler B-)
 
Hello Jeff Marler ,
Can u please give me idea about Class Wrapper??? I din't get u...

Thanks
Fathima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top