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. General Programming
  3. C#
  4. retrieving text from word file

retrieving text from word file

Scheduled Pinned Locked Moved C#
tutorial
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.
  • A Offline
    A Offline
    annie_bel
    wrote on last edited by
    #1

    hello!! i want to retrieve text from word file and copy to another word file. but resultant shows garbage value. please guide me. thanx

    R L 2 Replies Last reply
    0
    • A annie_bel

      hello!! i want to retrieve text from word file and copy to another word file. but resultant shows garbage value. please guide me. thanx

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You will need to use the Office Interop[^] classes to access Office objects.

      It's time for a new signature.

      1 Reply Last reply
      0
      • A annie_bel

        hello!! i want to retrieve text from word file and copy to another word file. but resultant shows garbage value. please guide me. thanx

        R Offline
        R Offline
        R Giskard Reventlov
        wrote on last edited by
        #3

        annie_bel wrote:

        but resultant shows garbage value.

        That's because the file is in RTF format: read this[^].

        "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

        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