r.
"david" <david@top4.com > wrote in message
news:035301c365 76$57f7cdb0$a00 1280a@phx.gbl.. .[color=blue]
> Is there a stream reader that can pasrse files which are
> in HTML format (i.e can't be passed as normal text files)?
>
> thanks
> David[/color]
Hey Robbie, thanks for your reply,
the thing is I am trying to parse what were original msg
files (outlook extentions) Usally I can parse them as text
files unless the message content is a web page(turning
that into text with the streamreader results in giberish.)
Does the frame work have anything that can handle this
probelm?
again thanks for you help
david[color=blue]
>-----Original Message-----
>not 'out-of-the-box' in the framework itself - but chris[/color]
lovett's done an[color=blue]
>sgml reader which you might find useful:
>
>http://www.gotdotnet.com/Community/U...es/Details.asp[/color]
x?SampleGuid=b9 0fddce-e60d-43f8-a5c4-c3bd760564bc[color=blue]
>
>r.
>"david" <david@top4.com > wrote in message
>news:035301c36 576$57f7cdb0$a0 01280a@phx.gbl. ..[color=green]
>> Is there a stream reader that can pasrse files which are
>> in HTML format (i.e can't be passed as normal text[/color][/color]
files)?[color=blue][color=green]
>>
>> thanks
>> David[/color]
>
>
>.
>[/color]
In order to parse the file, you will have to use COM interop and use the
MSHTML library to get the results. While it does support loading from a
stream (through the IPersistStream COM interface), you will have to define
this yourself as well as map between a .NET stream and a COM stream somehow.
"David" <david@top4.com > wrote in message
news:079b01c365 81$1cb4bfa0$a40 1280a@phx.gbl.. .[color=blue]
> Hey Robbie, thanks for your reply,
> the thing is I am trying to parse what were original msg
> files (outlook extentions) Usally I can parse them as text
> files unless the message content is a web page(turning
> that into text with the streamreader results in giberish.)
> Does the frame work have anything that can handle this
> probelm?
> again thanks for you help
> david[color=green]
> >-----Original Message-----
> >not 'out-of-the-box' in the framework itself - but chris[/color]
> lovett's done an[color=green]
> >sgml reader which you might find useful:
> >
> >http://www.gotdotnet.com/Community/U...es/Details.asp[/color]
> x?SampleGuid=b9 0fddce-e60d-43f8-a5c4-c3bd760564bc[color=green]
> >
> >r.
> >"david" <david@top4.com > wrote in message
> >news:035301c36 576$57f7cdb0$a0 01280a@phx.gbl. ..[color=darkred]
> >> Is there a stream reader that can pasrse files which are
> >> in HTML format (i.e can't be passed as normal text[/color][/color]
> files)?[color=green][color=darkred]
> >>
> >> thanks
> >> David[/color]
> >
> >
> >.
> >[/color][/color]
Comment