Fernando, This is superb! =)
Thanks, Eyvind. -----Opprinnelig melding----- Fra: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] På vegne av Fernando Tubio Sendt: 17. mai 2007 14:58 Til: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Emne: Re: [ADVANCED-DOTNET] Displaying an image in a WebBrowser without saving it to disk first (WinForms) Hi Eyvind, I had a chance to play a little bit more with the code and updated it to implement a rudimentary protocol which will return image data to the webbrowser control from a byte stream, which presumably could be obtained from a database or from an image built in memory from GDI instructions. I took a lot of shortcuts, so a robust implementation would probably take some (or a lot) more work, but at least it demonstrates that the approach is feasible and a that a pluggable protocol could be used to display an image without going through a file. An added advantage is that the endpoint is not exposed to other processes. I've sent you a copy of the updated code (and also to the other people who expressed interest in the earlier version.) Regards, Fernando Tubio ----- Original Message ----- From: "Eyvind Axelsen" <[EMAIL PROTECTED]> To: "Discussion of advanced .NET topics." <ADVANCED-DOTNET@DISCUSS.DEVELOP.COM> Cc: "Fernando Tubio" <[EMAIL PROTECTED]> Sent: Wednesday, May 16, 2007 4:26 AM Subject: RE: [ADVANCED-DOTNET] Displaying an image in a WebBrowser without saving it to disk first (WinForms) > Thank you very much, Fernando, that was very kind of you! > > Eyvind. > > -----Opprinnelig melding----- > Fra: Discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] På vegne av Fernando Tubio > Sendt: 15. mai 2007 21:17 > Til: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Emne: Re: [ADVANCED-DOTNET] Displaying an image in a WebBrowser without > saving it to disk first (WinForms) > > Hi Eyvind, > > I am not sure if this list accepts attachments (it's 14K) and probably not > a > lot of people would be interested in this anyway, so I sent a copy of the > code to your personal email. Let me know if you receive everything > correctly. > > Of course, if anybody else wants a copy, I'll be happy to send it to them. > > Regards, > > Fernando Tubio > > ----- Original Message ----- > From: "Eyvind Axelsen" <[EMAIL PROTECTED]> > To: <ADVANCED-DOTNET@DISCUSS.DEVELOP.COM> > Sent: Monday, May 14, 2007 6:46 AM > Subject: Re: [ADVANCED-DOTNET] Displaying an image in a WebBrowser without > saving it to disk first (WinForms) > > >> Fernando, >> >> Would you care to share some example code with me? >> >> Thanks, >> >> Eyvind. >> > > =================================== > This list is hosted by DevelopMentor http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > =================================== This list is hosted by DevelopMentor http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com