Inactive Command BarI created a Command Bar for our firm which loads a custom outlook form (from Exchange 2007)when a button is clicked from the command bar. Occassionaly some users have a problem where the bar is inactive or disabled. I have a few Try Catch blocks to trap errors and none of these have popped up to say to an error has occurred. Is there any other way to debug my application? or to narrow down why its has become inactive/disabled?<br/><br/>Thanks© 2009 Microsoft Corporation. All rights reserved.Thu, 09 Jul 2009 03:18:37 Z0e9747d4-0e72-44fc-baab-886fa2bf691fhttp://social.msdn.microsoft.com/Forums/en-US/vsto/thread/0e9747d4-0e72-44fc-baab-886fa2bf691f#0e9747d4-0e72-44fc-baab-886fa2bf691fhttp://social.msdn.microsoft.com/Forums/en-US/vsto/thread/0e9747d4-0e72-44fc-baab-886fa2bf691f#0e9747d4-0e72-44fc-baab-886fa2bf691fEssCeehttp://social.msdn.microsoft.com/Profile/en-US/?user=EssCeeInactive Command BarI created a Command Bar for our firm which loads a custom outlook form (from Exchange 2007)when a button is clicked from the command bar. Occassionaly some users have a problem where the bar is inactive or disabled. I have a few Try Catch blocks to trap errors and none of these have popped up to say to an error has occurred. Is there any other way to debug my application? or to narrow down why its has become inactive/disabled?<br/><br/>ThanksFri, 03 Jul 2009 12:38:05 Z2009-07-03T12:38:05Zhttp://social.msdn.microsoft.com/Forums/en-US/vsto/thread/0e9747d4-0e72-44fc-baab-886fa2bf691f#2598abcf-3240-48ac-a380-cd9f92f667d5http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/0e9747d4-0e72-44fc-baab-886fa2bf691f#2598abcf-3240-48ac-a380-cd9f92f667d5Cindy Meisterhttp://social.msdn.microsoft.com/Profile/en-US/?user=Cindy%20MeisterInactive Command BarAt the top of the forum is a message about FAQs. In that are links to various FAQ messages, one of which discusses CommandBar objects. Please work through that carefully. The usual cause of the problem you describe is that you're not declaring the CommandBar objects at the class level, so they go out of scope and are eventually garbage collected. The FAQ shows how your code needs to be structured.<br/><br/>If you continue to get the problem, please post the code that manages the CommandBars. Also specify the version of Outlook (Outlook is <em>not</em> Exchange) and the type of &quot;item&quot; the form is for.<hr class="sig">Cindy Meister, VSTO/Word MVPSat, 04 Jul 2009 10:32:29 Z2009-07-04T10:32:29Z