I'm not sure why you would need or want to do this. A browser downloads
files. A PDF document is a file. A browser can view a PDF document (if the
user is wanting a PDF document, I would have to assume that they have
Acrobat installed on their machine). So, you would load a PDF document into
a browser in the same way you would load an HTML or Text document, or any
other format that the browser recognizes: link to it, or use JavaScript to
set the location attribute of the currently loaded document to the location
of the PDF file. Or use link or JavaScript to load the PDF file into a new
browser instance. No streaming or sophisticated code needed.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:cm*********@kcweb01.netnews.att.com...
I can do this in ASP, but not sure how to handle in ASP.NET:
How To Use the ADODB.Stream Object to Send Binary Files to the Browser
through ASP
http://support.microsoft.com/?kbid=276488
Do I need to use BinaryReader? Can someone give me an example?