View Single Post
  #5  
Old April 10th 08, 11:09 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default deploy 2003 vsto addin on outlook 2007 problem

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.


Ads