bratuha
May 29th, 2003, 07:42 AM
Hi All,
I'm trying to close an active word document using
Private WdApp As Word.Application
wdapp = new Word.Application
.....
wdapp.ActiveDocument.Close()
but i get the following error.
C:\HtmlHelp\HtmlHelp\Split.vb(125): 'Close' is ambiguous across the inherited interfaces 'Word._Document' and 'Word.DocumentEvents_Event'.
could some one tell me please how can i close the document.
I'm trying to close an active word document using
Private WdApp As Word.Application
wdapp = new Word.Application
.....
wdapp.ActiveDocument.Close()
but i get the following error.
C:\HtmlHelp\HtmlHelp\Split.vb(125): 'Close' is ambiguous across the inherited interfaces 'Word._Document' and 'Word.DocumentEvents_Event'.
could some one tell me please how can i close the document.