![]() |
Outlook 2007 Addin - exception error
Hello and Help! (I'm new to vb addins)
I have just started to work my way throught the Micorosft Press book on Programming Applications for MSO Outlook 2007. Have followed the instructions to download the vb samples/addins and have installed them successfully. Chapter1 example runs a form with a list of chapter examples, when I run the first example in the book, the following error occurs; "Exception has been thrown by the target of an invocation." I have trawled the internet, and some are indicating that if there is an internet link in the code, these errors are happening. There is a link to "http://schemas.microsoft.com/mapi/proptag/0x007D001E" . Could this be the problem, and is there a fix for it. Thanks |
Outlook 2007 Addin - exception error
That's not a link at all. As Chapters 11 and 17 explain, it's the schema name for a hidden property, the one that displays the Internet headers for a message. Not every item (not even every message) has that property, so you should be prepared to handle an error returned by GetProperty. Chapter 17 explains in more detail.
Also, please note that you posted in the forum on Outlook forms. There is a newsgroup specifically for general Outlook programming issues "down the hall" at microsoft.public.outlook.program_vba or, via web interface, at http://www.microsoft.com/office/comm....program_v ba -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Cresta" wrote in message ... Hello and Help! (I'm new to vb addins) I have just started to work my way throught the Micorosft Press book on Programming Applications for MSO Outlook 2007. Have followed the instructions to download the vb samples/addins and have installed them successfully. Chapter1 example runs a form with a list of chapter examples, when I run the first example in the book, the following error occurs; "Exception has been thrown by the target of an invocation." I have trawled the internet, and some are indicating that if there is an internet link in the code, these errors are happening. There is a link to "http://schemas.microsoft.com/mapi/proptag/0x007D001E" . Could this be the problem, and is there a fix for it. Thanks |
All times are GMT +1. The time now is 10:43 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com