An HTML file *is* text. Are you referring to the text that appears in the
browser? To do that, you would have to parse the HTML. That would be quite a
difficult. There are a number of .Net HTML parsing libraries and articles on
how to do this out there, but none that I would trust. HTML is extremely
complex. The rules of HTML are complex, and there are quite a few HTML
documents out there that break the rules in various ways. As you are only
wanting to get the text displayed, your job would be a bit less difficult.
You could concentrate on only that aspect of the HTML, without having to
worry about the rest. Still, it is likely to be time-consuming and
frustrating to do.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.
"Robin" <@> wrote in message news:%2****************@tk2msftngp13.phx.gbl...
Hello
I need to read the rendered text of a html file. Does anybody know how to
do
that?
Thanks