How can I scan a bunch of Microsoft Word (2003) documents? I am searching for a certain phrase in the documents and want to return the file names of those which contain the phrase.
A code sample would be especially helpful.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A VB.NET version of allclaws’ method:
Edit:
To make this work you need to add a reference to the Microsoft Word 11.0 Object Library, available on the COM tab of the Add References dialog