ActiveX Control C# equivalent

  • Thread starter Thread starter Nadav
  • Start date Start date
N

Nadav

Hi,

(*) What is the C# equivalent of an ActiveX control? is it a 'Web control
library' or a 'Windows Control Library'? is it possible to embed a to embed
a 'Windows Control Library' in HTML pages?
(*) I want to embed a WebBrowser in a control that may ( and may not ) be
embedded in an containing HTML Page what is the best way to do that in C#?

Nadav.
 
HI Nadev
I was wondering the same thing and I came across the following articles
http://msdn.microsoft.com/library/d...l/vbconusercontrolchangesinvisualbasicnet.asp
and
http://samples.gotdotnet.com/quickstart/winforms/doc/WinFormsIeSourcing.aspx

the first one from MSDN states that you cannot embed usercontrols in IE
The second one from GotDotNet shows how to do this.
I have not tried it 100% but I hope you can and judging by the working
example in the second article I would say you can host usercontrols in IE.
Maybe someone from Microsoft or someone who knows more about this than me
can answer this one in more depth.

The .NET equivalent of an ActiveX control is a usercontrol for forms or web
usercontrol for browser. (technically)

HTH
JB
 
Back
Top