1
Reply

Files in outlook - shared folders

malte kuc

malte kuc

Oct 24 2011 2:19 AM
1.7k
Hello,

I'm just trying files from the public folders (Outlook) to copy.
I am now so far that I go through all the folders and can even read the contents.
However, I get the content as System.__ComObject.
As the number of different types is manageable, I just wanted to see if the object can be parsed into the appropriate types.

for example:
as Microsoft.Office.Interop.Word.Document;

So, now I always get the following error message:
Das COM-Objekt des Typs \"System.__ComObject\" kann nicht in den Schnittstellentyp \"Microsoft.Office.Interop.Word.Document\" umgewandelt werden. Dieser Vorgang konnte nicht durchgeführt werden, da der QueryInterface-Aufruf an die COM-Komponente für die Schnittstelle mit der IID \"{0002096B-0000-0000-C000-000000000046}\" aufgrund des folgenden Fehlers nicht durchgeführt werden konnte: Schnittstelle nicht unterstützt (Ausnahme von HRESULT: 0x80004002 (E_NOINTERFACE)).


How can i get the type of the COM object?


Answers (1)