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. MS Officeto XML

MS Officeto XML

Scheduled Pinned Locked Moved C#
csharphelpasp-netxml
4 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.
  • T Offline
    T Offline
    theJazzyBrain
    wrote on last edited by
    #1

    :confused:Hi all, I am working on a project that requires to convert MS Office docs (.doc and .xls) to XML. I have to write a component to handle such functionality. The component has to be in C# but even VB or VB.net would do. The problem! Where can I learn about the .doc and .xls formats? I nead to somehow scan the docs and convert them in XML. Is anyone aware of any components that do such thing? Is anyone aware of any information that might help me? NOTE: I don't want an application that converts .doc to XML. I need a component to inegrate it with my ASP.NET application. |---------------| | theJazzyBrain  | |---------------|

    F 1 Reply Last reply
    0
    • T theJazzyBrain

      :confused:Hi all, I am working on a project that requires to convert MS Office docs (.doc and .xls) to XML. I have to write a component to handle such functionality. The component has to be in C# but even VB or VB.net would do. The problem! Where can I learn about the .doc and .xls formats? I nead to somehow scan the docs and convert them in XML. Is anyone aware of any components that do such thing? Is anyone aware of any information that might help me? NOTE: I don't want an application that converts .doc to XML. I need a component to inegrate it with my ASP.NET application. |---------------| | theJazzyBrain  | |---------------|

      F Offline
      F Offline
      Feng Qin
      wrote on last edited by
      #2

      From my known, the format of doc is not public, otherwise many other Office products would be compliant with MS Office documents well and then rob its market. I'm amumu, and you?

      T 1 Reply Last reply
      0
      • F Feng Qin

        From my known, the format of doc is not public, otherwise many other Office products would be compliant with MS Office documents well and then rob its market. I'm amumu, and you?

        T Offline
        T Offline
        theJazzyBrain
        wrote on last edited by
        #3

        Hi there, I don't think that MS is making money from the file format. I have seen applications that convert .doc and .xls to XML. The problem is that I don't want an application, I need a component to integrate it with my ASP.NET application. I want to write the component myselfe but I have no idea where to start from... I tried to read a .doc file with the StreamReader object but I get a lot of wierd stuf. I need some information on how to do this... Thanx for your reply though!:) |---------------| | theJazzyBrain  | |---------------|

        F 1 Reply Last reply
        0
        • T theJazzyBrain

          Hi there, I don't think that MS is making money from the file format. I have seen applications that convert .doc and .xls to XML. The problem is that I don't want an application, I need a component to integrate it with my ASP.NET application. I want to write the component myselfe but I have no idea where to start from... I tried to read a .doc file with the StreamReader object but I get a lot of wierd stuf. I need some information on how to do this... Thanx for your reply though!:) |---------------| | theJazzyBrain  | |---------------|

          F Offline
          F Offline
          Feng Qin
          wrote on last edited by
          #4

          Hi, I guess the application you mentioned is using MSOffice Automation Object, it means the doc format analysis is done by MS. That's just my personal point. On the other hand, maybe you could also use this way. I'm amumu, and you?

          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