I try to open a PDF file within the IE browser. I know you can just open a PDF file inside without problem but you get all the address stuff within the browser which may not be desirable. I have got a routine within my ASP like this:
set objStream = server.CreateObject("ADODB.Stream")
Response.ContentType = "application/pdf"
Response.BinaryWrite objStream.Open "URL=" & urlpath, adModeRead
Set objStream = Nothing
However when I tried that I can only view the Acrobat splash screen but then nothing within the browser. I am wondering if I did something wrong. I have tried calling files within my PC (without the 'URL=' bit, of course) but the same thing happens.
Thanks for your help in advance.