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
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?
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.
Summary: Hi friends, I want to write a small program that searches in document files for a specific phrase or sentences. ( like 'Find files' in windows explorer). However I am unable to search in PDF files? H...
Summary: Can you please suggest a way to be able to search for a string inside files and move the files into another folder from the query output. Say in a folder I need to search for a substring say '123' ins...
Summary: To save a file to .Pdf acrobat format you need the full $$version of adobe acrobat not the free "reader" program look on the adobe website for information on saving files in pdf format they used to a...