Are you writing the server side software as well?  Write a server side asp.net 
handler for .jpg or whatever your image type is.  When the handler is invoked, 
if it looks like one of your dynamic images stream it. 

-----Original Message-----
From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf 
Of Eyvind Axelsen
Sent: Thursday, May 10, 2007 7:59 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] Displaying an image in a WebBrowser without 
saving it to disk first (WinForms)

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

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