Solved

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

Posted on 2010-09-13
6
605 Views
Last Modified: 2012-05-10
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
Comment
Question by:pgirardier
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 21

Accepted Solution

by:
chapmanjw earned 375 total points
ID: 33664448
You could do this with the Open XML SDK 2.0 for Microsoft Office http://msdn.microsoft.com/library/bb448854(office.14).aspx
0
 
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 125 total points
ID: 33664556
0
 

Author Comment

by:pgirardier
ID: 33664582
I have to edit Ms Word 2003 and Ms Word 2007 documents, is it possible with Open XML SDK 2.0 ?
0
Technology Partners: 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!

 
LVL 21

Assisted Solution

by:chapmanjw
chapmanjw earned 375 total points
ID: 33664587
Only 2007 documents will work with the SDK.
0
 

Author Comment

by:pgirardier
ID: 33666263
Is there another way to do this without  using  paid  tools ? It must  works for  Word 2003 and  Word 2007
0
 
LVL 21

Assisted Solution

by:chapmanjw
chapmanjw earned 375 total points
ID: 33666296
Unfortunately, no.  Word 2003 is a proprietary format that requires licensing.
0

Featured Post

Technology Partners: 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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Creating and Sending an Email through Excel 2010 10 83
array not updating 8 42
How to set focus on a dynamic control 18 52
Adjust the codes 3 63
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question