hi all.
first of all, i want to precede the fact that i'm not a
vb developer. It just for specific need.
I have a legacy application written in vb6 and i want to load its various forms from .Net application.
Sounds simple... but the thing is, that i need, from some reasons to hold the reference to the opened form...
I tried to export a function inside the
vb main class which its return type is Form.
It appears it's not working... I had a compile error... talking about private and public issues. If i realized well, the Form object in
vb is Private and the main class cannot reached to it. Therefore the Form type is not available.
my question is: how can i get reference to the vb6's form from .net which later i would be able to release its memory from .Net?