initiated via javascript).
Hi Rick,
For viewing PDF document in web page, it totally depend on the PDF viewer
installed on client machine. So it is necessary to insure that the client
has installed the PDF viewer software(unless you're using activex control
for pdf viewing so that client need to download and install your activex
component). Also, for whether client will prompt for open dialog, it depend
on your client machine's explorer setting. You can configure it through the
following steps:
1. open windows explorer
2. Tools ---> folder options---> File Types
3. choose the "PDF" extension and in the "Advanced" setting, you can find
the "confirm open after download" checkbox option.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.asp...
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
-----------------------------------------------Reply-----------------------------------------------
Rick wrote:
> I was hoping to get a control that would sit on a web page and be able to
> stream the pdf into the control. I know it has to display in a browser, but
> streaming directly to the browser forces the download prompt.And I'm not
> given the option from people higher up to make changes or force users to
> make the changes on the client side.
If your problem is that you don't want the user to wait for the entire
file to download, then I have good news for you. The Adobe Reader
browser plugin has a feature that allows you to stream the PDF page by
page on demand. The users would only have to wait for the first page to
load, and they could start navigating right away. This requires that you
first optimize your PDF for the web, also known as linearization. Go to
pdfzone.com and see if you can find a command line tool that converts an
existing PDF file into a byte-servable linearized one. If you host that,
Adobe Reader will fetch it page by page as the user is scrolling. Once
again, this won't work unless you get a tool that linearizes the PDF
first, or save it that way from Acrobat.
Tom