Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Word XP and 2003 Documents.open with c#

5 views
Skip to first unread message

Jean Paul Gevaert

unread,
Jan 22, 2004, 9:11:06 AM1/22/04
to
I wrote a c# program that opens a .doc file with documents.open. The program has to run on pc with Office 2002 or Office 2003.

Office 2003 is installed on the developpers PC, I also Installed the word XP pia. When I want to set references I can find thos for Excel Xp and Excel 2003, but for word I only find the 2003 version

1) Can somebody tell me how I have to add the refference to word xp?
2) What do I have to do to let my program open documents wit the word version tha is installed on the system (XP or 2003)

Jean Paul

Eric Lawrence [MSFT]

unread,
Jan 23, 2004, 12:21:39 AM1/23/04
to
If all you want to do is open a document, why not just call Process.start?

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.

"Jean Paul Gevaert" <j...@bbtk.be> wrote in message
news:CCBF3B03-BE10-4712...@microsoft.com...

Jean Paul Gevaert

unread,
Jan 23, 2004, 6:11:05 AM1/23/04
to
I have too change the attachedtemplate of the word docs.
The problem is the incompatibility between word XP and Word 2OO3.

What I did was change documents.open to Documents.open2002 and everything was working. The reference to the word 10 dll is not necessary.

So my problem is resolved

Jean Paul

0 new messages