First excuse me for my english
Ok, I've a problems when reading content of an PDF file. I cannot
return the content to browser because IE ask me if i want to download
it. But I DON'T WANT this msgbox appears, i just want the content be
printed to browser window,
i'm using adodb.stream
here is my code !!!
dim oStream
Const adTypeBinary = 1
Const adReadAll = -1
dim contenu
set oStream = createobject("adodb.stream")
oStream.type = adTypeBinary
oStream.Open
oStream.LoadFromFile Server.Mappath("template.pdf")
'set Contenu =oStream.Read(adReadAll)
Response.binaryWrite oStream.Read(adReadAll)
Thanks you fo your response
Prom31