View Single Post
  #5  
Old November 6th 09, 06:38 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Buttons are added multiple times in New Inspector window

That should be all you need, I've never had a problem with that.

If you do need some sort of sanity check beyond that, use
CommandBar.FindControl() to see if the control exists already before
creating it again.

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


"KarthikonIT via OfficeKB.com" u54961@uwe wrote in message
news:9eaa852f57454@uwe...
Hi,

I have already tried that it works some times, other times i don't see the
button itself or multiple button.

I created a bool variable as a member variable of "INspector wrapper"
class
which is created for every New email widow opened.

Is there anything that I could try for this..

Thanks for the help.


Ads