How to load Html to webBrowser from Memory Stream?

  • Thread starter Thread starter Risen
  • Start date Start date
R

Risen

Hi, all,

How can I to load Html file that in memory stream to webBrowser instead to
load Html file from disk. can anybody help me? Thx.

B.R.
Risen
 
Risen,

You can set the DocumentStream member of the webbrowser instance you
have (from the System.Windows.Forms namespace, not through interop) to your
stream, and it will load the contents from the stream.

Hope this helps.
 
Back
Top