kimiraikkonen
Fri Mar 14 03:46:42 CDT 2008
On Mar 14, 2:12=A0am, "Herfried K. Wagner [MVP]" <hirf-spam-me-
h...@gmx.at> wrote:
> "John" <J...@nospam.infovis.co.uk> schrieb:
>
> > How can I read an html file into a string variable?
>
> 'My.Computer.FileSystem.ReadAllText'.
>
> --
> =A0M S =A0 Herfried K. Wagner
> M V P =A0<URL:
http://dotnet.mvps.org/>
> =A0V B =A0 <URL:
http://dotnet.mvps.org/dotnet/faqs/>
Note that ReadAllText or StreamReader reads the HTML with html code
that has to be processed in a browser if you want, so if you only need
specific text except html codes, use webbrowser control then select
and copy the content.