|
-
Feb 21st, 2008, 12:14 PM
#1
Thread Starter
Hyperactive Member
Robdog888: Office FAQ 2003 to 2008 Problem
Robdog888 I am using the sample you posted in the Office FAQ to Loop through Outlook to save all attachments to a folder. In my case I am using VS2008 instead of VS 2003, which the code was written for. I expected that I would have to make some minor corrections but I am running into something bigger then what I expected.
I am getting this error, "Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.Outlook.MailItem'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063034-0000-0000-C000-000000000046}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))."
I found this site, which explains the problem but I am not sure what it is telling me to do to correct it. Have you had any experiece with this issue yet or have any ideas of how I might try to resolve it?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|