Wanted to Search in word documents thru . NET code
-
Hi, Very very new to .Net Technology:^)... can somebody help me or tell me the link to help for - searching into word documents for specific words/phrases. or shud i say... means to extract text from word documents. Thanks a million in advance.:rolleyes: Gagan
-
Hi, Very very new to .Net Technology:^)... can somebody help me or tell me the link to help for - searching into word documents for specific words/phrases. or shud i say... means to extract text from word documents. Thanks a million in advance.:rolleyes: Gagan
Add Resource - COM>Microsoft Word 9.0 Object Library This places required dll in your project directory. The following code should be a good pointer for you to do the rest.... Word.ApplicationClass wApp = new Word.ApplicationClass(); Word.Document aDoc = wApp.Documents.Open( Good Luck! -Sucharita
-
Hi, Very very new to .Net Technology:^)... can somebody help me or tell me the link to help for - searching into word documents for specific words/phrases. or shud i say... means to extract text from word documents. Thanks a million in advance.:rolleyes: Gagan
What you first need to do is understand the Word Object Model[^] Then you can look over some technical articles[^] or search on CP, there are several articles about automating Office. One of them: Automating MS Word Using Visual Studio .NET[^] regards, Mircea Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.