Control to render HTML?

  • Thread starter Thread starter Christopher Ambler
  • Start date Start date
C

Christopher Ambler

I'm sure I'm missing the obvious. Is there a control for windows forms to
which I can provide HTML and have it rendered for me? Nothing else fancy, no
navigation, no links, etc. Just HTML markup.

Thanks in advance!

Christopher
 
I use the htmlControl of sharpEdit, it's open source and very easy, else use
"microsoft web browser" component in shdocvw.dll

Serge
 
There's the COM WebBrowser control, but it has some extra bells and whistles
that you might not want. (It acts like a window of Internet Explorer.)
However, if you don't want navigation and links, you could just make sure
that you don't have any links in your HTML.

http://support.microsoft.com/?id=311303

Otherwise, you might consider hosting an MSHTML component directly, which
provides the base functionality for parsing and rendering HTML.

http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/webbrowser/WebBrowser.asp

http://groups.google.com/groups?hl=...-8&safe=off&selm=OcHOtbs4BHA.2092@tkmsftngp02
(complete thread)

http://www.syncfusion.com/FAQ/WinForms/FAQ_c100c.asp#q938q

--Robert Jacobson
 
Back
Top