All-
I have created a protype in VB.NET 1.1. After the prototype, I was informed
that my development was to be done in 1.0, not 1.1. Not a big deal, until I
try to close a document. Here is my code
ActiveDocument.Close(Word.WdSaveOptions.wdDoNotSaveChanges)
Like I said, it works fine in VB.NET 1.1, but not VB.NET 1.0. Below is the
error I get
'Close' is ambiguous across the inherited interfaces 'Word._Document' and
'Word.DocumentEvents2_Event'.
I am at a lost for what could be causing this error.
Thanks for any help
Cindy M -WordMVP- - 30 Jun 2005 16:00 GMT
Hi =?Utf-8?B?YmVu?=,
> 'Close' is ambiguous across the inherited interfaces 'Word._Document' and
> 'Word.DocumentEvents2_Event'.
See this Knowledge Base article from the msdn site
http://support.microsoft.com/default.aspx?scid=kb;en-us;315981
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)