Displaying local images in the web browser control

Posted by RichardK9 on Stack Overflow See other posts from Stack Overflow or by RichardK9
Published on 2010-04-01T11:16:05Z Indexed on 2010/04/01 11:23 UTC
Read the original article Hit count: 383

Hi,

I am writing a Windows Forms application and am creating a report for users to view in the webBrowser control. The problem is that it does not seem to display an image which is situated on my local hard drive, it just display the "broken image" red cross symbol. The path of the image is correct and when I view the source code of the generated html in either Firefox or Chrome it works but not in Internet Explorer (which I presume it what is used for this webBrowser control). Any help would be much appreciated.

Thanks, Richard.

© Stack Overflow or respective owner

Related posts about webbrowser-control

Related posts about windows-forms