word 2007 and C#

  • Thread starter Thread starter Gidi
  • Start date Start date
G

Gidi

Hi,

I've a windows application using C# (VS 2005).
one of my forms is opening a word document and replacing text and then print
the document.

for some reason, one of the computers i'm using with office 2007 installed,
crashes the program when i try to print the document.

I would like to know if there's a new way to find&replace strings in word
2007 (the document is *.doc).

I'm using:
Microsoft.Office.Interop.Word

Thanks,
Gidi.
 
In order to understand what's causing the crash we'd need a little more
detail. As to your question, if the documents are in the old proprietary
..doc format there is no other way I know of doing this with C# apart
from the method you're using. If you know a little VBA you could use
that instead, but if you don't... Debug the code on the machine in
question and send us some details if you get stuck.

James Finch (MCDST)
 
Back
Top