Sorry for the previous duplicate posts.
I'm referencing and using the Microsoft Word 11.0 object model from within
my VS 2005 C# Windows app.
The following lines...
objWordDoc.Close(ref missing, ref missing, ref missing);
objWordApp.Quit(ref missing, ref missing, ref missing);
Give me the following errors:
Ambiguity between method 'Word._Document.Close(ref object, ref object, ref
object)' and non-method 'Word.DocumentEvents2_Event.Close'
Ambiguity between method 'Word._Application.Quit(ref object, ref object, ref
object)' and non-method 'Word.ApplicationEvents4_Event.Quit'
So I can't seem to close Word. Any idea how to get around it?
Thanks for any help!
Ron