View Full Version : Automation support on computers without office\not the same versio


Eli
02-11-2006, 09:09 AM
Some question about the compatibly of the office interop framework:

1. Is it possible to use the automation program on a computer without
office? For example, to read a word document into a string on a C# program,
without having office?
If the answer is no, is their a way around it?

2. If I'm using the 11.0 object library of the interop, how does my
application interact with lower-version office such as 2000?

Ishai Sagi
02-11-2006, 09:44 AM
Eli,
First, It is not possible out of the box unless the document was saved
as XML or rtf or other such open format.

The DOC format is binaric, and you cannt read it unless you know how.
If you know the format (microsoft releases it to some partners and
developers) you can use any programing language to read doc files.


Eli wrote:

> Some question about the compatibly of the office interop framework:
>
> 1. Is it possible to use the automation program on a computer without
> office? For example, to read a word document into a string on a C# program,
> without having office?
> If the answer is no, is their a way around it?
>
> 2. If I'm using the 11.0 object library of the interop, how does my
> application interact with lower-version office such as 2000?