Click here to Skip to main content
11,933,037 members (53,459 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# C#4.0
Hi All,

Unable to cast COM object of type 'Microsoft.Office.Interop.Excel.ApplicationClass' to interface type 'Microsoft.Office.Interop.Word._Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00020970-0000-0000-C000-000000000046}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002

I am getting this exception at:


please give me any suggestion to resolve it..

Thank you..
Posted 3-Dec-12 2:57am
Richard MacCutchan 19-Apr-13 11:45am
You should not be casting to _Application as it is not the same type as your application object.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2


Check this link:[^]

CType(WordApp, Word._Application).Quit()

Good luck.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Don't know if it will help, but check this post reporting a similar problem:[^]


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151126.1 | Last Updated 19 Apr 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100