Cannot turn off custom developed toolbar or Command Bar from Outlook 2003

S

swarnakiran

Hi,

I have a custom Add-In developed in C# using VSTO SE. The question is
in context with Outlook 2003. I have chosen Outlook 2003 while
developing the Add-In in Visual Studio 2005. I have registered the Add-
In in HKEY_CURRENT_USER.

Problem Definition: Right click anywhere on the toolbar/ command bar
and check-off the add-in in question. Exit out of outlook. Make sure
Outlook is not in Task Manager also (Give ample time for it to be
released from memory). Open Outlook. Now the add-in comes back.

What is Expected?: This add-in should not come when user has turned it
off. User should be able to turn it on manually using the same right
click context menu option. This should be similar to Outlook's
Standard command bar.

Question 1: How to do get it working as expected in VSTO SE C#?
Earlier
(Additional Info) I had this add-in developed in COM earlier. With
that COM Add-in also the add-in was not vanishing on successive
opening of Outlook.

Question 2: Are there some events for this I need to subscribe. If
something is available, pls. describe them.

(Is this as designed item with Outlook?)

Thanks in advance,
SS
 
S

Sue Mosher [MVP-Outlook]

First, turning off a toolbar is not the same as disabling an add-in.

Second, most Outlook add-ins use the Temporary=True setting for toolbars and thus create the toolbar each time the add-in runs. If you want the add-in to remember the user's toolbar preference, you'll need to build that functionality into the application.

Finally, there is a newsgroup specifically for Outlook add-in programming issues "down the hall" at microsoft.public.outlook.program_addins or, via web interface, at http://www.microsoft.com/office/com...px?dg=microsoft.public.outlook.program_addins


--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top