Hi Eyvind,

I suppose you are generating your images dinamically, aren't you?
You could have used the data: uri scheme [1], because it was born to
solve this kind of needs; unfortunately IE does not support it...

Just a couple ideas:

a) Write your images inside a folder that only your user could access.
b) Embed all of your external resources (images, css, etc) in a single
MHTML [2] file. This format is very well supported by IE. Just google
"mht c#" to find something useful.

[1] http://en.wikipedia.org/wiki/Data:_URI_scheme
[2] http://en.wikipedia.org/wiki/MHTML

HTH

--
Efran Cobisi
http://www.cobisi.com

Eyvind Axelsen wrote:
Hi.

I have an application developed in Windows Forms/.NET 2.0/C#, that makes quite extensive use of 
HTML and the WebBrowser control. This works fine, but there is one issue I have not been able 
to resolve: Is it possible to display images in the WebBrowser control without having to store 
them on disk and refer to them via and <img src="file://..."> tag? The images 
may contain sensitive data, so if we could make the browser control for example read them from 
a stream, that would be great. Any ideas?

Thanks,

Eyvind.


===================================
This list is hosted by DevelopMentor�  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to