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. Print doc files without MS Word

Print doc files without MS Word

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

    Hi, I have to build a windows application in C#. What the application needs to do is print doc files even Microsoft word is not installed. Do you guys have any solution. Please help me out. Thanks in advance. regard, Arslan Ilyas

    S 1 Reply Last reply
    0
    • A arslanjatt

      Hi, I have to build a windows application in C#. What the application needs to do is print doc files even Microsoft word is not installed. Do you guys have any solution. Please help me out. Thanks in advance. regard, Arslan Ilyas

      S Offline
      S Offline
      Simon P Stevens
      wrote on last edited by
      #2

      .doc is a proprietry format, you need MS word to access it. You may be able to do it with the free "word viewer" but I don't know. In theory it's possible to reverse engenieer the .doc format and write your own parser to read and print it, but that won't be easy. OpenOffice have obviously done something like that as they can handle word files, so you could start by looking at their source code. There may be 3rd party libraries out that that provide this kind of functionality (search google), but it's not built into .net as standard.

      Simon

      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