Group,

I'm using VB.net 2010 and would like to convert a text file into a PDF file.

In reading through the internet, it appears that I need to download a 3rd party .dll file. But is that needed? I see multiple PDF library references by right clicking the project name, choosing "Add Reference" and clicking the "COM" tab. These libraries include PDFFilter, PDFMAcad, PDFMaker for Visio, PDFMakerAPI, etc. Can (or should) any of these be used?

Thanks for your input!

Don

Re: Converting a Text File to a PDF file 80 80

I use CutePDF Writer. It's a free virtual printer. Print any file to CutePDF and the output is a PDF.

Re: Converting a Text File to a PDF file 80 80

Thanks, Jim. I'm going to give that one a whirl!

You're the man!

Don

Re: Converting a Text File to a PDF file 80 80

.NET framework classes don't support PDF format natively. As you found out, you need to use a programming toolkit that support writing PDF format.
See these articles:
http://www.c-sharpcorner.com/blogs/convert-text-document-to-pdf-file1

https://www.leadtools.com/sdk/document/document-converter

Re: Converting a Text File to a PDF file 80 80

You don't need to installl any third party software for converting txt to pdf. They can be easilly done with the help of your computer preinstalled sofware. take a look at this cool tutorials

Article >> http://www.shoutingblogger.com/2016/02/convert-word-to-pdf-files-free-without-software-online-sites.html

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.