You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by J H <do...@hotmail.com> on 2004/01/29 06:49:53 UTC

Open Document with system call

Hello All!

I'm having a rather difficult time trying to figure out how to open a PDF 
document (or any document for that matter) from the webdav server once I 
have browsed out to it with an applet/standalone client I have created, and 
I would appreciate any ideas which anyone can think of.

What I was originally planning on doing was doing a system call on acrobat 
and giving it the url as a parameter, apparently this only works with 
non-secured servers because even if I try to open the url from within the 
Acrobat (version 5 or 6) program I get back and "authorization error" 
dialog.

The second thing I have tried is to open the url in a browser such as 
Internet explorer...ie brings up a save or open dialog box, but for some 
reason it doesn't actually give me the pdf document back.  If I type the 
same URL in Netscape, the document loads...but I really can't expect that 
everyone will install Netscape to use the product.

Apologies if this is a little scrambled...I've been working on this for 
quite some time now, and it's late :).

Thanks in advance for any input you might have!!!  I'll post a solution when 
I find it.

--Jeff

_________________________________________________________________
Scope out the new MSN Plus Internet Software — optimizes dial-up to the max! 
   http://join.msn.com/?pgmarket=en-us&page=byoa/plus&ST=1


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Open Document with system call

Posted by Ingo Brunberg <ib...@fiz-chemie.de>.
There is a relative simple solution. From within your client, just GET
the PDF and save it to a temp file. Then launch Acrobat passing it the
name of that temp file.

Ingo

> Hello All!
> 
> I'm having a rather difficult time trying to figure out how to open a PDF 
> document (or any document for that matter) from the webdav server once I 
> have browsed out to it with an applet/standalone client I have created, and 
> I would appreciate any ideas which anyone can think of.
> 
> What I was originally planning on doing was doing a system call on acrobat 
> and giving it the url as a parameter, apparently this only works with 
> non-secured servers because even if I try to open the url from within the 
> Acrobat (version 5 or 6) program I get back and "authorization error" 
> dialog.
> 
> The second thing I have tried is to open the url in a browser such as 
> Internet explorer...ie brings up a save or open dialog box, but for some 
> reason it doesn't actually give me the pdf document back.  If I type the 
> same URL in Netscape, the document loads...but I really can't expect that 
> everyone will install Netscape to use the product.
> 
> Apologies if this is a little scrambled...I've been working on this for 
> quite some time now, and it's late :).
> 
> Thanks in advance for any input you might have!!!  I'll post a solution when 
> I find it.
> 
> --Jeff


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org