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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. i want to make a .doc viewer..or even start redig from it..!!

i want to make a .doc viewer..or even start redig from it..!!

Scheduled Pinned Locked Moved Visual Basic
csharpquestion
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.
  • A Offline
    A Offline
    Ashraf Fathy
    wrote on last edited by
    #1

    i want to read the .doc word file with vb.net or c# i don't know how can i start... and if any one tell me how can i read from a binary file i will be glad... thanx ashraf :confused:

    D 1 Reply Last reply
    0
    • A Ashraf Fathy

      i want to read the .doc word file with vb.net or c# i don't know how can i start... and if any one tell me how can i read from a binary file i will be glad... thanx ashraf :confused:

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Why rewrite something that's already been done, by Microsoft no less. Word Viewer[^] Just using the Open method of a Stream object won't work. The .NET File objects don't support multiple streams per file, which is what you'll need to open the file and get at ALL of its contents. Actually, you'll be using the OLE 2.0 object model and Structured Storage. If you try and parse the individual streams yourself, you'll run into a hugely complex file format, the docs of which you can find here[^] (Word 97 and Word 2000 share the same file format.) OLE 2.0 docs[^] Structured Storage[^] RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      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