0
Answer

Unable to cast an object in to VB.Form

sriram sarma

sriram sarma

15y
1.9k
1

I have a requirement where, i will get a VBForm as an object from WindowManager.  In order to access the methods of that form, I need to unbox it back to VBForm.  I have tried to include VB6.OLB as a reference to my .net project.  Even then i was unable to acess VB.Form.  Is there any other solution for this.

Regards,

Sarma.