C# .NET How can I show an image on WebBrowser control?

Posted by dmessf on Stack Overflow See other posts from Stack Overflow or by dmessf
Published on 2010-05-31T00:50:55Z Indexed on 2010/05/31 0:52 UTC
Read the original article Hit count: 453

Filed under:
|
|

How can I show an image on a webbrowser control in C#/.NET? I'm doing something like

webBrowser1.DocumentText = "<html><head></head><body><img src=imagelocationURL.html/></body></html>"

but the image doesn't appear. What am I doing wrong?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET