Html parsing file

  • Thread starter Thread starter david
  • Start date Start date
D

david

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
 
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
 
David,

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.

Hope this helps.
 
Back
Top