gajesh

gajesh

  • NA
  • 2
  • 0

How to get the object of ActiveX control in class library application

May 5 2006 3:17 AM
Hello,

I am using an ActiveX control in my form application of C#.
I want that this application should be restricted up to UI support only and all the operation(like Drawing) on this ActiveX control should be handled by a separate ClassLibrary application.

To obtain this i took a global object of ActiveX control in my class library application and initialised it in the FormLoad() of C# form application.

But it is saying a type mismatching in assigning the object.

Please help me to come out of the problem or if u can suggest any other way to fulfill the requirement, i ll appreciate it.