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. is it possible to work with Word files using Binary Reader and writer?

is it possible to work with Word files using Binary Reader and writer?

Scheduled Pinned Locked Moved C#
question
2 Posts 2 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.
  • H Offline
    H Offline
    hurrem
    wrote on last edited by
    #1

    I need to translit the documents, translit from cyrillic letters to latin letters. and I need to make my program to work with as many documents as it possible, and huge document, may be a document with 500 pages.... So, I'm thinking different ways to implement it to work as efficient as possible... any advices?

    G 1 Reply Last reply
    0
    • H hurrem

      I need to translit the documents, translit from cyrillic letters to latin letters. and I need to make my program to work with as many documents as it possible, and huge document, may be a document with 500 pages.... So, I'm thinking different ways to implement it to work as efficient as possible... any advices?

      G Offline
      G Offline
      Garth J Lancaster
      wrote on last edited by
      #2

      I would have thought using Binary Reader and Writer would be extremely tortuous for this - you would have to parse the document file(s) by hand Why not look at a level of abstraction 'above' that .. this is an interop/RCW method of interacting with a Word Doc ... http://code.msdn.microsoft.com/office/CSAutomateWord-f422cae5[^] but it may not be good for 500 pages - you'd have to loop through all pages getting the text, (possibly) creating a new document with the translated text. There are other ways to read/write Word documents - Read Document Text Directly from Microsoft Word File[^] for instance 'g'

      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