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. Word file read data without having word installed

Word file read data without having word installed

Scheduled Pinned Locked Moved C#
htmlhelp
7 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
    abcurl
    wrote on last edited by
    #1

    hi, I want to save the word file in html and word is not installed on client machine. I want to do this thing without using the word installed on the machine Please provide some help

    L 1 Reply Last reply
    0
    • A abcurl

      hi, I want to save the word file in html and word is not installed on client machine. I want to do this thing without using the word installed on the machine Please provide some help

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

      I do not think this is possible without the Office Interop assemblies. See here[^] for a download.

      txtspeak is the realm of 9 year old children, not developers. Christian Graus

      A 1 Reply Last reply
      0
      • L Lost User

        I do not think this is possible without the Office Interop assemblies. See here[^] for a download.

        txtspeak is the realm of 9 year old children, not developers. Christian Graus

        A Offline
        A Offline
        abcurl
        wrote on last edited by
        #3

        ok, can i read the data through the fstream, and then do decode/encode. Is it a right move?

        L 2 Replies Last reply
        0
        • A abcurl

          ok, can i read the data through the fstream, and then do decode/encode. Is it a right move?

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

          Yes, of course, you can write your own parser, see microsoft documentation : http://www.microsoft.com/interop/docs/OfficeBinaryFormats.mspx[^]

          A 1 Reply Last reply
          0
          • L Lost User

            Yes, of course, you can write your own parser, see microsoft documentation : http://www.microsoft.com/interop/docs/OfficeBinaryFormats.mspx[^]

            A Offline
            A Offline
            abcurl
            wrote on last edited by
            #5

            Please provide some sample code to perform it.

            L 1 Reply Last reply
            0
            • A abcurl

              ok, can i read the data through the fstream, and then do decode/encode. Is it a right move?

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

              abcurl wrote:

              ok, can i read the data through the fstream, and then do decode/encode.

              You can only do this if you know the file format; I doubt that this would be a good thing. As I said before, get the Interop assemblies and use them. There are many tutorials both here and on the internet to show you how to use these features.

              txtspeak is the realm of 9 year old children, not developers. Christian Graus

              1 Reply Last reply
              0
              • A abcurl

                Please provide some sample code to perform it.

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

                http://msdn.microsoft.com/en-us/library/system.io.binaryreader.aspx[^] Use BinaryReader class and see the sample in MSDN.

                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