Control to render HTML?

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
 
S

serge anton

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

Serge
 
R

Robert Jacobson

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
 

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