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
223 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 52

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 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