Using a thirdparty ActiveX control in C#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I guess this question is been asked allready , but i'm still didnt have the
answer that helped me.
I have an ActiveX control that i used in VB6, now i want to use it also in
C#. Is there any step by step instructions how to implement an ( non
MicroSoft) activeX control in C# ?

Thanks in advance ...
 
Hi,
I guess this question is been asked allready , but i'm still didnt have the
answer that helped me.
I have an ActiveX control that i used in VB6, now i want to use it also in
C#. Is there any step by step instructions how to implement an ( non
MicroSoft) activeX control in C# ?

Thanks in advance ...

You shouldn't have a problem ... just add it as a COM reference and you'll
be good to go
 
Thanks Rad,

But i'm affraid i have to pop the question again, Perhaps is there any
examples available how to use a COM as a reference in C#? I already add the
ActiveX control to my Toolbox.
 
Hi,

Drop the control from your toolbox onto a form. VS will create the Interop
assemblies and references that you need. Just use it like any other control
after that... Assuming that the control itself does "normal" things.

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.
 
Back
Top