adodb.stream 
Author Message
 adodb.stream

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

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

Brad

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

  'Clean up....
  objStream.Close
  Set objStream = Nothing



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

 Relevant Pages 

1. ADODB.stream instead of ADODB.Stream??

2. ADODB.stream 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 adodb.stream to send a file?

6. ADODB.Stream

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

8. ADODB.Stream Parameter to Stored Procedure

9. use adodb.stream to send a file?

10. XMLHTTP -> ADODB.Stream

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

12. ADODB.Stream object


 
Powered by phpBB® Forum Software