[RESOLVED] Create PDF from Listview contents
Hi, I found many threads where people ask how to create a PDF file. In a lot of those threads people are pointed to this code.
Generally it works fine, but every line or word needs to be positioned separately, but sometimes more than a 1000 rows (6 columns) need to be "written". Does anybody have any idea how to create a PDF from the contents of a Listview and keep everything in the right position, without having to position 6000 items manually? I'm absolutely clueless.
Re: Create PDF from Listview contents
When I had to do the same, I went thru save the ListView to an Access table and then Export to PDF thru Crystal Reports...
A longer but a better way
Re: Create PDF from Listview contents
Thanks, but how am I going to do that exactly? Do I need to install Crystal Reports?
My app is not for myself, but will be used by a few hundred people. I don't mind using dll's/ocx's, but I can't expect the users to install my app and then having to install other apps as well just to create a PDF.
1 Attachment(s)
Re: Create PDF from Listview contents
You need to install Crystal Reports only in the development pc, make a setup package and install in each client pc....
Another solution could be the next, that I have used sometimes when need to convert txt files to pdf files
It's a small project that I found searching the net, the author's info is attached also
Re: Create PDF from Listview contents