Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Casting Outlook Attachment object back into Outlook.MailItem

Status
Not open for further replies.

lsman11

Programmer
Dec 22, 2004
18
US
I have a reference to an Outlook.Attachment object, 'a', and i would like to cast 'a' back into a Outlook.MailItem, but i am receiving cannotCast exceptions...

I know for a fact that the attachment is an email. Is there any way to cast the attachment object?

Any ideas appreciated, also pls let me know if there is a different forum inside tek-tips this is better suited for, thanks!

Luis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top