Hi there folks,
I have Visual C# Project- Windows Application , It has a Webbrowser Control , and I intend to load a local HTML file with images into it.
I want to embed the embed the html file and image files as resources. So I did. While using the DocumentText property of the Webbrowser Control I am able to load the HTML resource in the webbrowser control , the Image obviously isn't showing up , as the HTML file had image source as the local file path.
What I am looking for is, how do I get the embedded image to show up in the webbrowser control , when it loads the HTML file?
I googled some , and quite a lot of folks are saying to use the "res://ApplicationName.exe/SomeImage.png" in the src attribute. But obviously this is incorrect and doesn't work.
Can you help ?