473,385 Members | 1,331 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Rendering HTML without using MSHTML/IE

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
1 7338
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Sunny | last post by:
Hi all, I have to get a HTML content of a given URL, to inspect links and images and to change something in there, and to save the result. I have done it already with: System.Net.WebClient source...
4
by: Jay | last post by:
Hi all, May i know if there is any way by which we can render a given HTML inside .NET Windows Forms? We had the Web Browser controls in Visual Studio 6. Is there a follow-up of that in...
2
by: Cobus Lombard | last post by:
Hi all I need to create an ASP.NET control that will allow me to do an HttpRequest, parse the HTML and then render it in a thumbnail (sorta like a preview of a site without browsing to it). ...
5
by: Dave A | last post by:
I am writing an ASP.NET tool that will allow the client to create their own online froms. ie the client can add tect boxes, text, drop downs,etc with absolutely no technical skill what so ever....
0
by: devanoy | last post by:
I am trying to print an existing HTML File to PDF in VB.NET programmatically. I have only had success with setting the default printer to Acrobat Distiller and using this code. Dim MSHTML As...
10
by: Curtis | last post by:
Does anyone have any good examples of parsing WebPages in VB.Net. My application needs to get information from certain HTML tables and I haven't been able to find a good way to approach the...
3
by: ramesh | last post by:
Hi all, I am facing a problem with the rendering of html into a windows application (C# .NET). I am trying with two possible approaches: 1. Use a control that directly renders the html into...
0
by: micmit | last post by:
I wanted to avoid any HTML file creation , so initial HTML was formed as a string and assigned to DocumentText. After that the aim was to manipulate with html using DOM . It turned out...
3
by: SAL | last post by:
Hello, I did google this issue and found some stuff related to BrowserCaps section of either web.config or machine.config but it didn't work. It seems that most pages in my webapp are okay but a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.