VB code to print pdf file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Laurie Scott

    VB code to print pdf file

    Hello,
    I tried using your code but kept getting an error on the last line. So, I put the process.start() on the next line.
    that fixed the compiler error, but I keep getting the message "error opening this document. file cannot be found." This is weird because I have other code that executes to return the length of this very file.

    Any hints?

    I have spent several days trying to do something that should only take a few minutes....
  • rowe_newsgroups

    #2
    Re: VB code to print pdf file

    On May 27, 4:39 pm, Laurie Scott wrote:
    Hello,
    I tried using your code but kept getting an error on the last line. So, I put the process.start() on the next line.
    that fixed the compiler error, but I keep getting the message "error opening this document. file cannot be found." This is weird because I have other code that executes to return the length of this very file.
    >
    Any hints?
    >
    I have spent several days trying to do something that should only take a few minutes....
    I realize that this is an orphaned thread, but for the sake of people
    searching on how to easily created pdf's from .NET I'll include this
    post.

    The best (IMO) commercial library I've found for pdf creation is one
    called Siberix Report Writer. It was easy to use, and could be used to
    created PDFs programmaticall y as well as from Xml files.



    As far as free components go, I've heard some things about iTextSharp,
    but I have never actually used it.

    Thanks,

    Seth Rowe [MVP]

    Comment

    Working...