Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).


New Forum | Previous | Next | (P-PDF) Developers


Topic: Re: No Topic (but should be: embedding PDF files in an ASP)
Conf: (P-PDF) Developers, Msg: 57833
From: dlock
Date: 5/29/2002 05:28 PM

The ASP as written, looks like it starts to load Reader plugin, but goes
right on by, not displaying any PDF, so I end up with a blank page and the
name of the file(s)(Netscape 5.0 ) or blank squares where the PDF(s) should
be and the name of the file(s)(IE5).

My thought is that the ASP should transfer control over to HTML or 'pause'
in some way so the ASP will display the PDF before it 'moves on' to other
things as it does now.

Dave
> From: "Lopes, Allen (A.)"
>
> Dave,
>
> I think you are displaying all PDF files in a page, but
> I dont quite understand your intention behind "pausing" inside the loop.
> But do you want to control it manually from the client-side (Javascript)
or
> from the server-side (ASP) ?
>
> The entire ASP code on the page has to and will complete
> before it hands over control to the client. ASP language as such does
> not support any SLEEP or PAUSE command.
>
> Allen.
>
> Allen - here is the code:
>
> If Session("blnViewRoster") Then 'IF THE CHOICE WAS MADE TO VIEW
> 'Show PDF Files
> strDisplay = ""
> strFiles = Session("FileList") & WalkinFileLoc & ","
> Do While True = True 'STAY IN LOOP UNTIL KICKED OUT AS NOTED BELOW
> intCommPos = InStr(1, strFiles, ",", 1)
> If intCommPos = 0 Then Exit Do
> strPathName = Left(strFiles, intCommPos-1) 'GET FILE NAME
> strFileName = Right(strPathName,
Len(strPathName)-InStrRev(strPathName,
> "\"))
> 'GET THE FILENAME TO DISPLAY
> ' ******
> strDisplay = strDisplay & strFileName &
> "
> WIDTH=580>

" &
> vbNewLine
> ' *******
> strFiles = Right(strFiles, Len(strFiles)-intCommPos) 'PREPARE FOR NEXT
> FILENAME
> Loop
> Response.Write strDisplay
>
> Thanks
> David Lock
> Zapp Systems
> 208.440.2005
> dlock@zappsystems.com
>
> From: "David"
>
> ------ AcroBuddies Forum | http://www.acrobuddies.com ------
>
> I need to display a PDF from within an ASP loop. It seems to me that I
need
> to put a "pause" mechanism within the loop to keep the ASP from moving on.
> Any ideas?

> Thank you
> David Lock



PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Back to the past, 15 years ago! Open Publish 2002

Looking back to 2002, it's amazing how much of the prediction became a reality. Take a read and see what you think!

September 14, 2017
Platinum Sponsor





Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.

Features

Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.