Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
swje swje is offline
external usenet poster
 
Posts: 14
Default Document close failed

Hi,
When close a document use the following code:
WordApplication.ActiveDocument.Close(ref wdSaveChanges, ref Missing, ref
Missing);
there catch a System.Runtime.InteropServices.COMException error,
Message = "Command failed"
Errorcode = -2146824090

Any suggestions to correct this problem?
Thank you.


 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Voice training failed to initialize tracey New Users 1 May 9th 07 01:38 PM
Notification Failed. Please try later. Frank Microsoft Word Help 0 July 19th 06 02:30 PM
full document failed to print Kirk Microsoft Word Help 1 November 1st 05 01:29 PM
When trying to email a document I get operation failed, unspecifi. TD Microsoft Word Help 0 April 13th 05 02:53 PM
Why does word close when I close a document? S Youzba Microsoft Word Help 5 December 28th 04 06:06 PM


All times are GMT +1. The time now is 08:05 AM.

Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"