The Image class has a method "Save", which can persist the image to a
stream, and then you can reconstruct it, by using the "FromStream"
static method.

HTH and cheers,
Stoyan

-----Original Message-----
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Bryan Clauss
Sent: Monday, November 22, 2004 4:28 AM
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] Displaying an Image from Memory


I am not sure if this should be in the VB forum or not, but here goes:

I have an application called Active Reports.  This is similiar to
Crystal Reports.

In the report, there is an embedded picture.  I can use Active Reports
(AR) to retrieve the object, and it gives me an object of type Image.

I have tried to dump it to the memory stream to place it on an ASPX
page, but I can not figure out how to convert the Image to something
that I can use the Response.BinaryWrite on.

In the past, I have been able to read an image from a database, and
place that on the page, but this is stumping me.

Thankyou in advance for any help that you can throw out to me.

-Bryan Clauss

===================================
This list is hosted by DevelopMentorR  http://www.develop.com Some .NET
courses you may be interested in:

Essential .NET: building applications and components with C# November 29
- December 3, in Los Angeles http://www.develop.com/courses/edotnet

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

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
Some .NET courses you may be interested in:

Essential .NET: building applications and components with C#
November 29 - December 3, in Los Angeles
http://www.develop.com/courses/edotnet

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

Reply via email to