vb.net - PropertyAccessor error -


i have outlook 2007 add-in made in visual basic visual studio 2010. developed quite long time ago , has worked fine. detect embedded images using attachment propertyaccessor. have go , make changes , running following problem. attempting property gives me following error (it never did before) the property "http://schemas.microsoft.com/mapi/proptag/0x37140003" unknown or cannot found. other properties can fine. have seen other posts same error mention pr_attachment_hidden property not set. don't understand attachment ordinary jpg sent me account. if build add-in , install in outlook 2016 works fine. find strange used work no errors. don't know if makes difference running in virtualbox.
ideas welcome.

keep in mind propertyaccessor.getproperty behavior changed (in outlook 2010?) when comes properties not present - getproperty raise exception instead of returning null.

you need expect , handle exception - no mapi property should expected present. in particular case, missing pr_attachment_hidden same pr_attachment_hidden == false.

take @ available mapi properties on attachment in outlookspy - select message, click imessage button on outlookspy ribbon, go getattachmenttable tab, double click on attachment.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -