Using Interop; Merge not doing anything

  • Thread starter Thread starter John A. Bailo
  • Start date Start date
J

John A. Bailo

I created two word documents.

From a c# console application, I then open the first document, then use
the .Merge method from one, on the other.

I thought it would combine the two documents, but I don't see any
difference in the orginal.

Isn't "merge" supposed to blend the two documents together?
 
Word Automation does contain "merge" functionality which allows you to
combine multiple documents together. You would be able to access this
functionality from .NET using COM Interop. Here is some sample code
which shows how to do this...

Merging Word Documents with C#
http://www.codeproject.com/csharp/mswmergecs.asp

Shane Sauer
J-Integra Interoperability Solutions
http://j-integra.intrinsyc.com/
high performance interop middleware for java, corba, com & .net
 
Thanks a lot!

It appears my code was actually working (it was highlighting the
difference in text as a hyperlink) -- I just didn't notice it!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top