Open linked PDF-Files from a PDF-File

Discussion in 'ASP .Net' started by Paul Kuebler, Aug 12, 2003.

  1. Paul Kuebler

    Paul Kuebler Guest

    ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
    Paul Kuebler, Aug 12, 2003
    #1
    1. Advertising

  2. Paul Kuebler

    Paul Kuebler Guest

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

    Paul
    >-----Original Message-----
    >??????????????????????????????????????????????????????????

    ???????????????????????????????????????????????????????????
    ???????????????????????????????????????????????????????????
    ???????????????????????????????????????????????????????????
    ???????????????????????????????????????????????????????????
    ???????????????????????????????????????????????????????????
    ???????????????????????????????????????????????????????????
    ???????????????????????????????????????????????????????????
    ???????????????????????????????????????????????????????????
    ??????????????????????????????
    >
    >.
    >
    Paul Kuebler, Aug 12, 2003
    #2
    1. Advertising

  3. "Paul Kuebler" <> wrote
    > 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
    Carl Prothman [MVP], Aug 12, 2003
    #3
  4. "Paul Kuebler" <> wrote
    ??????????????????????????????????????????????????????????????????????????????

    Paul,
    Which tool are you using to post to the newsgroups?

    --

    Thanks,
    Carl Prothman
    Microsoft ASP.NET MVP
    http://www.able-consulting.com
    Carl Prothman [MVP], Aug 12, 2003
    #4
  5. Paul Kuebler

    Paul Kuebler Guest

    ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
    Paul Kuebler, Aug 13, 2003
    #5
  6. Paul Kuebler

    Paul Kuebler Guest

    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
    >-----Original Message-----
    >"Paul Kuebler" <> wrote
    >??????????????????????????????????????????????????????????

    ????????????????????
    >
    >Paul,
    >Which tool are you using to post to the newsgroups?
    >
    >--
    >
    >Thanks,
    >Carl Prothman
    >Microsoft ASP.NET MVP
    >http://www.able-consulting.com
    >
    >
    >
    >
    >.
    >
    Paul Kuebler, Aug 13, 2003
    #6
  7. Paul Kuebler

    Paul Kuebler Guest

    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-----
    >"Paul Kuebler" <> wrote in message

    news:02a001c36163$4bf1f2f0$...
    >> Hello Carl
    >>
    >> I posted with MS IE 6.0.2 and Mozilla 1.4.
    >> The last post was also with a wrong sign, which produce
    >> the question marks. I have no idea which sign this

    effect
    >> produce.
    >>

    >
    >Try using Outlook Express (which is what I'm using).
    >Or you can try the Community Newsgroup via IE
    >http://msdn.microsoft.com/newsgroups/
    >
    >
    >> 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.
    >>

    >
    >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
    >the pdf directory and pdf file(s) are under your web

    directory.
    >
    >If you are still having problems with the code try

    posting your code
    >(again) using one of techiques above, and I'll take a

    look...
    >
    >--
    >
    >Thanks,
    >Carl Prothman
    >Microsoft ASP.NET MVP
    >http://www.able-consulting.com
    >
    >
    >
    >
    >.
    >
    Paul Kuebler, Aug 14, 2003
    #7
  8. Paul Kuebler

    Paul Kuebler Guest

    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




    >-----Original Message-----
    >Paul,
    >I opened the PDF file below and clicked on the links,

    which took me to the new PDF.
    >So the links appear to be working.
    >
    >e.g.
    >I clicked on the link below
    >http://patis.palfinger.com/ekat/5204/index.pdf
    >the file open in IE
    >
    >Then I clicked on the first line, which took me to
    >http://patis.palfinger.com/seiten/60198974.pdf
    >
    >--
    >
    >Thanks,
    >Carl Prothman
    >Microsoft ASP.NET MVP
    >http://www.able-consulting.com
    >
    >
    >"Paul Kuebler" <> wrote in message

    news:03e001c36249$223f6320$...
    >> 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-----
    >> >"Paul Kuebler" <> wrote in

    message
    >> news:02a001c36163$4bf1f2f0$...
    >> >> Hello Carl
    >> >>
    >> >> I posted with MS IE 6.0.2 and Mozilla 1.4.
    >> >> The last post was also with a wrong sign, which

    produce
    >> >> the question marks. I have no idea which sign this

    >> effect
    >> >> produce.
    >> >>
    >> >
    >> >Try using Outlook Express (which is what I'm using).
    >> >Or you can try the Community Newsgroup via IE
    >> >http://msdn.microsoft.com/newsgroups/
    >> >
    >> >
    >> >> 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.
    >> >>
    >> >
    >> >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
    >> >the pdf directory and pdf file(s) are under your web

    >> directory.
    >> >
    >> >If you are still having problems with the code try

    >> posting your code
    >> >(again) using one of techiques above, and I'll take a

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

    >
    >
    >.
    >
    Paul Kuebler, Aug 18, 2003
    #8
  9. "Paul Kuebler" <> wrote
    > 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
    Carl Prothman [MVP], Aug 18, 2003
    #9
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Carl Prothman [MVP]

    Re: Open linked PDF-Files from a PDF-File

    Carl Prothman [MVP], Aug 9, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    449
    Paul Kuebler
    Aug 12, 2003
  2. Chris Ritchey
    Replies:
    7
    Views:
    463
    emerth
    Jul 10, 2003
  3. Chris Ritchey

    Generating a char* from a linked list of linked lists

    Chris Ritchey, Jul 9, 2003, in forum: C Programming
    Replies:
    7
    Views:
    452
    emerth
    Jul 10, 2003
  4. fool
    Replies:
    14
    Views:
    491
    Barry Schwarz
    Jul 3, 2006
  5. joshd
    Replies:
    12
    Views:
    652
    John Carson
    Oct 2, 2006
Loading...

Share This Page