Open linked PDF-Files from a PDF-File

  • Thread starter Thread starter Paul Kuebler
  • Start date Start date
P

Paul Kuebler

????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
 
Sorry for this bad post, but I copied source-code into
the post, and the result are question marks!!

Paul
 
Paul Kuebler said:
Sorry for this bad post, but I copied source-code into
the post, and the result are question marks!!

Ahhh, I was wondering what you were doing! ;-)

Try copying the code to Notepad, then copy from Notepad to here.

--

Thanks,
Carl Prothman
Microsoft ASP.NET MVP
http://www.able-consulting.com
 
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
 
Hello Carl

The last post was also with a wrong sign, which produce
the question marks. I have no idea which sign this effect
produce.

I have also no idea on which way I could post my code,
because there is the problem with the links from the PDF-
file to other PDF-files, and this links have no effect. If
I click on the link, nothing is happen.
The links are no URL's, the links are pathes on the server-
disk.
Is this possible, or must I change the pathes to URL's.

Thanks
Paul
 
Hello Carl

Thanks for the reply!!
I tested another way to solve my problem.
Our pdf-files are available on the net.
With the following link it's possible to open a pdf-file

http://patis.palfinger.com/ekat/5204/index.pdf

In this pdf-file are links to other pdf-files. If I
open this pdf-file the links open the other pdf-files.

I implemented following code in my ASP.NET application

string FilePath;
FilePath="http://patis.palfinger.com/ekat/5204/index.pdf";
Response.Redirect(FilePath);
Response.End();

The pdf-file is opened, but if I click on the links,
nothing is happen.

Have you any idea what's wrong in my code?

Thanks
Paul


-----Original Message-----


Try using Outlook Express (which is what I'm using).
Or you can try the Community Newsgroup via IE
http://msdn.microsoft.com/newsgroups/



Since folks are viewing the PDF via a browser, then I believe you
will need to put in a URL to each pdf file if you want the hyperlink
to work correctly. e.g.
http://mywebsite/pdf/myfile.pdf where
 
Hello Carl

Thanks for your reply!!

The link on the Web works, but if I start an ASP.NET
application with the implemented code:

string FilePath;
FilePath="http://patis.palfinger.com/ekat/5204/index.pdf";
Response.Redirect(FilePath);
Response.End();

The first PDF file is opened, but the links to the other
PDF-Files don't work.

Thanks for help
Paul
 
Paul Kuebler said:
The link on the Web works, but if I start an ASP.NET
application with the implemented code:
string FilePath;
FilePath="http://patis.palfinger.com/ekat/5204/index.pdf";
Response.Redirect(FilePath);
Response.End();
The first PDF file is opened, but the links to the other
PDF-Files don't work.

Paul,
Right, the above code will not change the hyperlink paths in the PDF file.
The hyperlinks in the PDF file need to be correct before being sending
the file out to the browser.

In my second reply on this thread, I posted some sample server-side code
which would open up a PDF file on the server, make some changes to it (TDB),
then write out the bits to the IIS Response stream. Did you try that code?

--

Thanks,
Carl Prothman
Microsoft ASP.NET MVP
http://www.able-consulting.com
 
Back
Top