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