By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,664 Members | 1,364 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,664 IT Pros & Developers. It's quick & easy.

Rendering HTML without using MSHTML/IE

P: n/a
I'm trying to create a chat program, however I find it most of the
time these days clients use HTML or some sort of markup language to
render text on the screen. My question is how would I render HTML
without using MSHTML/IE? I already have a feeling that I'll have to
create my own control. How would I go on doing this? (I would like to
be able to edit/select text in a WinForm) Maybe someone can point to
ways of enhancing the RichText control? Or somehow using GDI+? Any
links would be helpful as that Google brings up stuff regarding to
ASP.NET

Many thanks
David (guardian65_3dave at hotmail dot com)
Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Newsgroup Reader" <no******@newsgroup-reader.com> wrote in message news:8a********************************@4ax.com...
I'm trying to create a chat program, however I find it most of the
time these days clients use HTML or some sort of markup language to
render text on the screen. My question is how would I render HTML
without using MSHTML/IE?


If you search http://www.gotdotnet.com, the samples that is, you will find
one called "RichTextBox that displays XHTML" You can use this to
convert HTML to RTF (which is what it does). The HTML has to be
well-formed XHTML, so you might also need Chris Lovett's SgmlReader
on the same site. Or you could use a version of Tidy.

The other question is, why not use mshtml? See:

http://www.itwriting.com/htmleditor/index.php

Tim


Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.