-----Opprinnelig melding-----
Fra: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] På vegne av 
Efran Cobisi

< I suppose you are generating your images dinamically, aren't you? >

Well, not really, but they come from a database, and may contain sensitive 
medical data, so I would rather not store them on disk.

< a) Write your images inside a folder that only your user could access. >

That could be an option, but I'm afraid it would be a deployment nightmare. I 
would rather not go down that road.

< 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. > 

Yes, I have looked at mht files, and that seems like a good option. However, I 
am unable to load an mht file from an embedded resource into the WebBrowser 
control. Just setting the DocumentText property to the string contents of the 
mht does not work. When the mht file resides on disk (which I do not want), 
displaying it via the Navigate() method works perfectly. Any pointers would be 
greatly appreciated.

Eyvind.

Reply via email to