tvks

tvks

  • NA
  • 3
  • 0

Object to VB.Form

Apr 7 2009 10:10 AM
Hi,

I have a VB activex .dll file which I have added as reference in my C# .Net project.

I have the task of converting an old VB application into C#.

The following code fetches for me an object representing the VB form.

object objValue = myframe.Windows.get_Item(ref myid).Form;

Now I want to use the components in this VB form. To be more precise I want the object back as a VB form to be used in C#.

This form has a property (GET and LET) I want to use this property.

Help :(