![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
![]()
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 news ![]() 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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2007 / Addin with Ribbon | Paul Liebrand | Add-ins for Outlook | 3 | February 5th 07 09:12 PM |
Exception, error retrieving COM class factory... | [email protected] | Add-ins for Outlook | 0 | June 22nd 06 12:23 PM |
AddIn crashes Outlook 2007 | Charles Sinclair | Add-ins for Outlook | 4 | June 1st 06 06:43 PM |
How do I get rid of an Outlook 2003 addin error message? | Glynn Brooks | Outlook - Installation | 0 | March 29th 06 06:25 PM |
unknown exception error in Exchange Environment | Michael Anderson | Outlook and VBA | 3 | February 28th 06 08:25 PM |