How to Search PDF

vb.net , .net framework , pdf , search Newark, United States
  • 8 years ago
    Hello, I need some help on how to open a folder with multiple PDFs, search of text entered in a text box, list the PDF files which contains the text in a list box and click on the filename from the listbox to open the PDF. Can you please help get get startted with sample codes or links related to this topic. Thanks in advance. Victor
  • 8 years ago
    All of what you need is pretty easy, but searching text in PDF could turn to impossible... at least without payed library which can do that...
  • 8 years ago
    Hi Victor, You can use the free, open source, [iTextSharp library](http://sourceforge.net/projects/itextsharp/) which allows you to create PDFs, and also read them! There's an article here describing how to extract text from a PDF using this library - that should be fairly easily turned into a search algorithm. If you're talking a huge collection of PDFs, then it's worth looking at[ Lucene.NET](http://incubator.apache.org/lucene.net/) to perform the searching. Hope that helps

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice: Nothing works and they don't know why.”