Author Message

Hi -

I have a web application that uses a program to convert a
tiff to a png image file.  This section works but it also
displays the full path to the image that is being

I need to be able to convert the path/image to a stream
and then write the stream to the browser.  Somehow it is
not working.  The Imagedisplay works fine until I try to
push it into binary.  There are no apparent error messages.

This is my code:  Any ideas...


  'Open a Tif file
  objStream.Type = adTypeBinary
  objStream.Open "../ImageDisplay.exe?Name=" & ImageFile  
  'Output the contents of the stream object
  Response.ContentType = "image/png"

  'Clean up....
  Set objStream = Nothing

Sat, 02 Jul 2005 01:57:50 GMT
 [ 1 post ] 

 Relevant Pages 

1. instead of ADODB.Stream??

2. instead of ADODB.Stream??

3. How to get XML in an ADODB.Recordset or ADODB.Stream object

4. Syntax for writing into ADODB.Stream

5. Use to send a file?

6. ADODB.Stream

7. Loading UTF-16 (unicode) directly from to DOM

8. ADODB.Stream Parameter to Stored Procedure

9. use to send a file?

10. XMLHTTP -> ADODB.Stream

11. ADODB.Stream ---file not open ?

12. ADODB.Stream object

Powered by phpBB® Forum Software