Yes I am using Wrappers based on some of your samples. Have written it for
2003 but this problem is occurring for 2007 office on XP. Have tested it on
other xp machine with 2007 and it is working perfectly. Its on one particular
machine that its giving a problem.
-Lokesh
"Ken Slovak - [MVP - Outlook]" wrote:
That sounds like a scope issue. Are you declaring that object at a level
where it doesn't go out of scope and get garbage collected?
What type of button? Is this running on Outlook 2003 or 2007? For 2007 you
should be supporting the ribbon.
Also, if you intend to correctly handle things if more than one item is open
at a time you really should be wrapping your Inspectors in Inspector wrapper
classes and keeping them in a collection or list of some kind so you can
handle each separately.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"lokesh" wrote in message
...
Though, the addin got installed, its not behaving the way it should even
though i got it running with the same configuration in other machine.
The problem is a button which enables/disables other controls on the
toolbar, works for the first time the message (inspector) window is opened
after the outlook is opened. But then when i close the first window and
open
another window, it stops disabling/enabling other controls. No exceptions
are
occurring and cannot figure out what the problem could be.