Solved

Help with searching key words in PDF and listing links of pages where keyword is found using VB.NET

Posted on 2014-03-11
3
226 Views
Last Modified: 2014-03-13
Hi,

How do I search a PDF file and list a link to all the pages where the key word is found, or is there a better approach?

Thanks,

Victor
0
Comment
Question by:vcharles
3 Comments
 
LVL 19

Accepted Solution

by:
regmigrant earned 500 total points
ID: 39920304
PDF doesn't have a pre-defined structure for the holding of text values as it 'draws' pages so you will need to either code a full blown PDF interpreter or use a third part add-on such as pdfshark or
http://www.business-spreadsheets.com/forum.asp?t=884 (which is free)

Your mileage will vary unless you have control over the incoming pdf
0
 

Author Comment

by:vcharles
ID: 39920344
Thank You for the information.

Victor
0
 
LVL 53

Expert Comment

by:Joe Winograd, EE MVE
ID: 39928449
Hi Victor,

I realize that you already closed this question, but I want to point out that if the PDF file has text in it (such as a PDF Normal file or a PDF Searchable Image file) then it is possible to search the file for a string and identify the pages where the string is found. Take a look at this EE question:
http://www.experts-exchange.com/Software/Server_Software/Document_Management/Q_28084148.html

If you'd like more information about the solution, please contact me at the email address in my profile. Regards, Joe
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question