Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

VB6 Add-In

I have two questions related to VB6 Add-In.

1. How can I run the Active Project from VB6 Add-In?
Active Project means the project that is set as startup.

2. How can I get the object of each class or form of Active Project?
Actually, I can get the informations of each items of Active Project but what i want to do is that I want to get the object as same as the object that is declared in project. Little confuse? :-)
Suppose: I open the standard EXE project in VB6 IDE. There are 2 Forms and 1 Class in this project. So that we can declare like that..

Dim objForm as Form1


Now, we got a object of Form1.
I want to get the same object of Form1 from Add-In.

Any Idea would be appreciated.
Let me try once more if you are not clear what I meant.

Thanks.
[847 byte] By [Sync] at [2007-11-11 8:09:54]