Hi,
dont forget;
<snip url="
http://msdn.microsoft.com/library/d...foPathCustomizingInfoPathMenusandToolbars.asp">
When InfoPath is closed, the state of the toolbars is saved. If you do
not re-enable the controls, they will remain disabled in the InfoPath
UI, including in design mode. You can re-enable these controls when
any built-in events occur, such as the OnSubmitRequest event, or
through any custom business logic process that represents an
appropriate condition for the disabled controls to be re-enabled.
Note, however, that you cannot re-enable controls on the _Shutdown
event in managed code forms.
The process of re-enabling controls is straightforward. You simply
repeat the code for disabling the control, but set the Enabled
property to true for each menu, toolbar, or control you previously
disabled.
</snip>