How about implementing an asynchronous pluggable protocol [1]?  This is what
is used to implement the res:// protocol except that in your case, instead
of retrieving your resource from your executable, you can do it from a
database. The images could then be displayed by using an appropriate url
with a scheme corresponding to your protocol. For example,

<img src="dbimg://...">

[1]  http://msdn2.microsoft.com/en-us/library/aa767916.aspx


Regards,

Fernando Tubio

----- Original Message -----
From: "Eyvind Axelsen" <[EMAIL PROTECTED]>
To: <ADVANCED-DOTNET@DISCUSS.DEVELOP.COM>
Sent: Friday, May 11, 2007 5:59 AM
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

< A possible solution could be to expose a custom web server (like Cassini
[1], for example) inside your own application >

We did, actually, at one pint host Cassini within our application, but it
was later removed due to security and maintenance concerns.

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