Joe White’s Blog

Life, .NET, and Cats


Embedding WinForms controls in IE

I’ve had to dig this up several times before, so it’s about time I blogged it.

You can embed a .NET WinForms control directly into a Web page, much like a Java applet or an ActiveX control. It only works in IE, but unlike ActiveX, there’s no security prompt and nothing to install. (Obviously, it runs in a sandbox, so it can’t access your hard drive or anything.) You also have to be careful about what events you hook and suchlike; the security model is pretty restrictive (I’ve blogged about this before).

Anyway, here’s how to embed a UserControl into Internet Explorer.

There are no responses to “Embedding WinForms controls in IE” yet.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Joe White's Blog copyright © 2004-2008. Portions of the site layout use Yahoo! YUI Reset, Fonts, and Grids.
Proudly powered by WordPress. Entries (RSS) and Comments (RSS).