[RESOLVED] Create PDF from csv data using vbRichClient
Hello,
searched for an example but could not find one.
I am looking to create a pdf file from csv data, kind of like a report , would be nice to print logo etc as well.
I saw that vbrichclient has some pdf functions so I assume it is possible. My guess is you create the pdf on a ciarro surface, then call writeContentToPDFfile.
Does anyone have an example of how this might be done.
thank you
Re: Create PDF from csv data using vbRichClient
Quote:
Originally Posted by
axisdj
...searched for an example but could not find one.
This is one of the first hits, the Google-Search box at the center-top of this forum gave me (using [pdf vbrichclient5]):
https://www.vbforums.com/showthread....rawingRoutine)
Olaf
Re: Create PDF from csv data using vbRichClient
Quote:
Originally Posted by
Schmidt
DUDE.. I suck sorry to waste your time. thanks for pointing it out. I search for PDF to csv vb6, and did not includ vbrichClient in search. I will remeber to do that next time before I bother you
Re: Create PDF from csv data using vbRichClient
Quote:
Originally Posted by
axisdj
DUDE.. I suck sorry to waste your time. thanks for pointing it out. I search for PDF to csv vb6, and did not includ vbrichClient in search. I will remeber to do that next time before I bother you
RC5, or RC6 work well, too (adding it into the search-string for filtering).
FWIW, here's a codebank-entry, which shows how to convert CSV into SQLite in a first step
(passing your table-data as a RecordSet into the PDF-render-loop will probably ease things a bit).
https://www.vbforums.com/showthread....te-and-ADOJet)
HTH
Olaf