Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Item Open event does not occurs every time

Geek News

Item Open event does not occurs every time
"sfradel" <sfradel[ at ]gmail.com> 7/17/2006 12:43:51 PM
I used the X4UTools C# example for wrapping up the new inspectors and
the Contact items.
But Item Open event does not occur all the times when i use the next
button.

_Item.Open += new
Microsoft.Office.Interop.Outlook.ItemEvents_10_OpenEventHandler(_Item_Open);

The Inspector activate,deactivate and close events are handled only
when Item Open Handler is invoked. I also hande the Item Close event to
remove the events and force the removal of the inspector from the
collection but the inpector button is added in Item open handler.

Can i do something to catch the Item open event or this is an outlook
bug?

Re: Item Open event does not occurs every time
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 9/2/2006 3:33:23 PM
I think this KB article addresses that issue -- http://support.microsoft.com/kb/321326/

--
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

"sfradel" <sfradel[ at ]gmail.com> wrote in message news:1153140231.156477.69130[ at ]i42g2000cwa.googlegroups.com...
[Quoted Text]
>I used the X4UTools C# example for wrapping up the new inspectors and
> the Contact items.
> But Item Open event does not occur all the times when i use the next
> button.
>
> _Item.Open += new
> Microsoft.Office.Interop.Outlook.ItemEvents_10_OpenEventHandler(_Item_Open);
>
> The Inspector activate,deactivate and close events are handled only
> when Item Open Handler is invoked. I also hande the Item Close event to
> remove the events and force the removal of the inspector from the
> collection but the inpector button is added in Item open handler.
>
> Can i do something to catch the Item open event or this is an outlook
> bug?
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net