VB code to print pdf file

  • Thread starter Thread starter Laurie Scott
  • Start date Start date
L

Laurie Scott

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....
 
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 programmatically as well as from Xml files.

www.siberix.com

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

Thanks,

Seth Rowe [MVP]
 
Back
Top