How to load Html to webBrowser from Memory Stream?

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
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top