Computing.Net > Forums > Programming > Search for keyword in pdf file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Search for keyword in pdf file

Reply to Message Icon

Name: MisterTommy
Date: July 22, 2005 at 15:26:30 Pacific
OS: Win XP
CPU/Ram: P4 Intel
Comment:

I am wanting to create a VB application that will be able to search a pdf file(s) for key words that a user inputs. I am very new to VB...Can someone help?



Sponsored Link
Ads by Google

Response Number 1
Name: StuartS
Date: July 23, 2005 at 06:01:54 Pacific
Reply:

You won'y be able to, at least not with any ease.

PDF files are compressed so there is no plain text to search on. You are first going to have to work out the file format of PDF files, uncompress them then read them.

Difficult for an experienced programmer let alone a novice.


Stuart


0

Response Number 2
Name: MisterTommy
Date: July 26, 2005 at 17:18:46 Pacific
Reply:

Wow, ok...So would it be difficult to uncompress a pdf file, and read it?

Perhaps I can write the file to a text file?? Then perform a search on the text file?


0

Response Number 3
Name: StuartS
Date: July 27, 2005 at 00:19:20 Pacific
Reply:

To write a PDF to a text file you are still going to have to uncompress the original PDF file.

Load a PDF file into notebook and you will see the type of problem you have.

The best you can do is to print the PDF to a file and do a search on the resulting file. But that means that you need to have a printer on you computer configured to print to a file and Acrobat Reader installed.

Stuart


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Search for keyword in pdf file

Searching in .pdf files www.computing.net/answers/programming/searching-in-pdf-files/9255.html

Search for substring and move files www.computing.net/answers/programming/search-for-substring-and-move-files/12924.html

save in .pdf file format not work.. www.computing.net/answers/programming/save-in-pdf-file-format-not-work/11096.html