Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
225 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.Net WebRequest Code from JSON curl 7 50
MailAddress in vb 4 29
VB.NET String Settings and Temp Folder Question 3 55
VB.Net Determine if a mapped network drive exists 2 30
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…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
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…

860 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