An attempt to intiantiate the class exposed by the wrapper dll, shows syntax
error on the class exposed!
After adding a reference to the dlls. I have the following code:
Imports AxabcOCX
Module Module1
Friend WithEvents Axabc1 As New AxabcCX.Axabc
....
....
End Module
The above shows error on AxabcCX.Axabc
"Herfried K. Wagner [MVP]" wrote:
> "sm" <(E-Mail Removed)> schrieb:
> > I mean the wrapper dll which is created automatically when a COM object is
> > dropped on to a form.
> >
> > I am want to use the COM control in a console application. I copied the
> > wrapper dlls created in a windows application to the obj directory in the
> > console application. The bottom line is I need to access the members of
> > the
> > control.
>
> Did you try to instantiate the classes exposed by the wrapper DLL? It's
> very similar to working with normal .NET classes.
>
> --
> Herfried K. Wagner [MVP]
> <URL:http://dotnet.mvps.org/>
>
>
|