Results 1 to 5 of 5

Thread: [RESOLVED] Create PDF from Listview contents

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Resolved [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.

  2. #2
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    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

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    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.

  4. #4
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    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
    Attached Files Attached Files

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Create PDF from Listview contents

    Thank you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width