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
217 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
Comment Utility
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
Comment Utility
Thank You for the information.

Victor
0
 
LVL 51

Expert Comment

by:Joe Winograd, EE MVE
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now