Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Wanted to Search in word documents thru . NET code

Wanted to Search in word documents thru . NET code

Scheduled Pinned Locked Moved ASP.NET
csharpalgorithmshelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    GaganDeepSaini
    wrote on last edited by
    #1

    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

    S M 2 Replies Last reply
    0
    • G GaganDeepSaini

      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

      S Offline
      S Offline
      sucharita
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • G GaganDeepSaini

        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

        M Offline
        M Offline
        Mircea Grelus
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups