( First, I'm using .net 1.1 and, yes, I posted this problem on the
Adobe Forums but that won't do any good because they have very poor support)
In the code pasted below, MyReport is a Crystal Report object. this code
works with all Adobe readers except for the new 7.07. If the client has
Adobe 7.07 nothing happens. With Adobe versions 5 and 6 the reader produces
the Crystal Report in PDF format.
Apparently they have changed something. does anyone have any ideas?
MyStream =
MyReport.FormatEngine.ExportToStream(MyExportReque stContext)
Response.ClearHeaders()
Response.ClearContent()
Response.ContentType = "application/pdf"
Dim myBuffer(MyStream.Length) As Byte
MyStream.Read(myBuffer, 0, CType(MyStream.Length, Integer))
Response.BinaryWrite(myBuffer)
Response.Flush()
Response.close()
Response.End()
--
Regards,
Gary Blakely