• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 720
  • Last Modified:

Edit Ms Word documents with C#, without using Microsoft.Office.Interop.

Hello

I want to create a document word from another one (copying a document) with replacing some strings in the old one with another strings. So, I get, in the end, a new document that has the same content as the first one except the replaced strings.
I have to do this without using Microsoft.Office.Interop;
Thank you.
0
pgirardier
Asked:
pgirardier
  • 3
  • 2
4 Solutions
 
chapmanjwCommented:
You could do this with the Open XML SDK 2.0 for Microsoft Office http://msdn.microsoft.com/library/bb448854(office.14).aspx
0
 
Éric MoreauSenior .Net ConsultantCommented:
0
 
pgirardierAuthor Commented:
I have to edit Ms Word 2003 and Ms Word 2007 documents, is it possible with Open XML SDK 2.0 ?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
chapmanjwCommented:
Only 2007 documents will work with the SDK.
0
 
pgirardierAuthor Commented:
Is there another way to do this without  using  paid  tools ? It must  works for  Word 2003 and  Word 2007
0
 
chapmanjwCommented:
Unfortunately, no.  Word 2003 is a proprietary format that requires licensing.
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now