In my application i am creating many .doc files and i want to append it to make a single .doc file . how could i do this using C#
A:
Since your application already writes some doc files, I will assume you have experience with office interop.
A simple approach would be:
- open the target file
- for each source file:
- open it
- select all its content
- copy the content in the clipboard
- paste into the target file
- close the source file
- close the target file.
Johann Blais
2010-10-22 07:02:28
Thas is fine when we have text only but what if source file contain images also?
sshah
2010-10-25 08:38:07