Calling a ActiveX Control from within a C# Windows application
I have a requirement to have an event that calls an ActiveX control from within a C# desktop application and am not sure if this is possible firstly. The second problem is theoretically how is this achieved, is the ActiveX control a dll that开发者_运维知识库 is referenced or is it a remote executable? Or does this depend upon the ActiveX control?
If someone could help steer me in the right direction and provide a link to reference that would be great.
Many thanks.
In VS, You can drag and drop activeX control on ToolBox
pan, and then use it like other controls on toolbox. first be sure you done regsvr32 myactivex.ocx
before.
精彩评论