Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Streaming PDF to Acrobat Reader

Status
Not open for further replies.

Thrakazog

Programmer
Dec 10, 2001
48
US
Hi All,

I'm working on a program that creates PDF documents. Currently to view these documents we save them to disk and then open them by shelling out to Acrobat Reader.

I would like to cut the saving step out and just have Acrobat open the PDFs from an IO steam. From there the user could save the file if they liked and we wouldn't have temp files to deal with. Does anyone know if it is possible to Automate Acrobat to open a document from an IO stream like this?

Thanks,
 
I don't think you can coax Acrobat into feeding off your own file stream. The security levels built into that software make it unwieldy to "automate" as you describe.

But, for fewer headaches, I'd recommend using one of the many PDF packages available to .NET. Google reveals many such offerings.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top