|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Using a thirdparty ActiveX control in C#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 ... On Thu, 8 Mar 2007 14:37:08 -0800, Oswaldfig wrote:
> Hi, You shouldn't have a problem ... just add it as a COM reference and you'll > 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 ... 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. Show quote "Rad [Visual C# MVP]" wrote: > On Thu, 8 Mar 2007 14:37:08 -0800, Oswaldfig wrote: > > > 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 > -- > Bits.Bytes > http://bytes.thinkersroom.com > 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. |
|||||||||||||||||||||||