ActiveX Control C# equivalent

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.
 
J

John Baro

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top