How to hide/disable send button in Outlook 2007

Status
Not open for further replies.
J

jubergolandaj

I am working on Outlook 2007 Add-in developed in C# and VS-2008. In this we

are having our own custom form .oftOn this form we have our custom "Send"

button on click event of it our processing continues. Now the problem we are

facing is we want to disable or hide the built-in send button of Outlook on

the Ribbon. Also we want to disable or hide some groups in the Tabs on

Ribbon. We have tried to do this by using custom Ribbon class implementing

Office.Core.IRibbonExtensibility interface.In ThisAddin file we have written

the following method: protected override

Microsoft.Office.Core.IRibbonExtensibility

CreateRibbonExtensibilityObject(){return new Ribbon(); }In Ribbon class the

xml file is referred which disable the particular groups from ribbon tab.But

this is applied to all the new mail items not only to my custom form. Or at

least other best option we can see is, catch the send button click event of

outlook and with that we need "Alt+S" and "Cntrl+Enter" event also. Is it

possible?
 
D

Dips

On Aug 11, 2:14 pm, jubergolandaj

<jubergolan...> wrote:
> I am working on Outlook 2007 Add-in developed in C# and VS-2008. In this we
> are having our own custom form .oftOn this form we have our custom “Send”
> button on click event of it our processing continues. Now the problem we are
> facing is we want to disable or hide the built-in send button of Outlook on
> the Ribbon. Also we want to disable or hide some groups in the Tabs on
> Ribbon. We have tried to do this by using custom Ribbon class implementing
> Office.Core.IRibbonExtensibility interface.In ThisAddin file we have written
> the following method: protected override
> Microsoft.Office.Core.IRibbonExtensibility
> CreateRibbonExtensibilityObject(){return new Ribbon();  }In Ribbon class the
> xml file is referred which disable the particular groups from ribbon tab.But
> this is applied to all the new mail items not only to my custom form. Or at
> least other best option we can see is, catch the send button click event of
> outlook and with that we need "Alt+S" and "Cntrl+Enter" event also. Is it
> possible?


I'm also facing same problem. Can somebody answer this question? It

will be very helpful...:)
 
D

dxider

Some time ago I did something similar, try using

http://support.microsoft.com/default.aspx/kb/173604 as a reference for

buttons IDs and CommandBars names, in this case, you can use:

Item.GetInspector.CommandBars("File").FindControl(, 3).Visible = False

in the Open event of the Custom Form as a posible solution to hide the Save

(ID=3 in File CommandBar) button.

or

Item.GetInspector.CommandBars("Standard").FindControl(, 3).Visible = False

in the Open event of the Custom Form as a posible solution to hide the Save

(ID=3 in Standard CommandBar) button.

I hope this can help to solve the issue.

Dream it, love it, CODE it!!!

"Dips" wrote:


> On Aug 11, 2:14 pm, jubergolandaj
> <jubergolan...> wrote:
> > I am working on Outlook 2007 Add-in developed in C# and VS-2008. In this we
> > are having our own custom form .oftOn this form we have our custom "Send"
> > button on click event of it our processing continues. Now the problem we are
> > facing is we want to disable or hide the built-in send button of Outlook on
> > the Ribbon. Also we want to disable or hide some groups in the Tabs on
> > Ribbon. We have tried to do this by using custom Ribbon class implementing
> > Office.Core.IRibbonExtensibility interface.In ThisAddin file we have written
> > the following method: protected override
> > Microsoft.Office.Core.IRibbonExtensibility
> > CreateRibbonExtensibilityObject(){return new Ribbon(); }In Ribbon class the
> > xml file is referred which disable the particular groups from ribbon tab.But
> > this is applied to all the new mail items not only to my custom form. Or at
> > least other best option we can see is, catch the send button click event of
> > outlook and with that we need "Alt+S" and "Cntrl+Enter" event also. Is it
> > possible?


> I'm also facing same problem. Can somebody answer this question? It
> will be very helpful...:)
>
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
J How to hide/disable send button in Outlook 2007 Outlook VBA and Custom Forms 1
J How to hide/disable send button in Outlook 2007 Outlook VBA and Custom Forms 1
N How to disable shortcuts for Pilcrow in Outlook (Show or hide paragraph marks) Using Outlook 0
D Disable or hide "reply" and "reply to all" and "forward" in email from access vba Outlook VBA and Custom Forms 1
D hide messege issue Using Outlook 1
J Outlook 2007 Hide Messages Option not Available Using Outlook 2
A Possible to hide ribbon with custom appointment form? Outlook VBA and Custom Forms 3
K BCM hide subfolders BCM (Business Contact Manager) 1
oliv- HIDE ITEM Outlook VBA and Custom Forms 3
S Hide Timestamp from deleyed message Using Outlook 4
I Outlook 2010 - Remove or Hide Suggested Contact Folders Using Outlook 1
K Hide Default Folders in PST Using Outlook 2
F Hide calendars from shared mailboxes Using Outlook 2
J Ho do I hide the week number on the Calendar Printing Assistant template Calendar Printing Assistant 4
S Hide Folders in Outlook 2007 (IMAP) Using Outlook 5
C How do I hide distribution list from global contacts for certain users? Exchange Server Administration 1
T Is it possible to hide a mailbox but still send on the behalf of. Exchange Server Administration 1
H Outlook 2007 - hide completed tasks from Outlook Today -Solution Using Outlook 2
M Hide the 'To' in my Outlook email options Using Outlook 4
D Hide from Exchange Address list not working Exchange Server Administration 14
J We want to hide all calendar appointment details and only show free/busy times. Using Outlook 9
R Hide calendar Exchange Server Administration 2
M hide company name Exchange Server Administration 1
A Hide properties in OWA and Outlook Exchange Server Administration 4
I OL2010: How to hide other users contact folders ?? Using Outlook 3
N Appointment Body on Custom Page 2- Hide Default Page Outlook VBA and Custom Forms 2
N How to hide pstStore Outlook VBA and Custom Forms 4
H Hide attachment... Outlook VBA and Custom Forms 3
S hide details of appointments in calendar Using Outlook 8
M hide outlook to system tray Outlook VBA and Custom Forms 1
E Can I hide an explorer or make an explorer modal Outlook VBA and Custom Forms 2
E Can I hide an explorer or make an explorer modal Outlook VBA and Custom Forms 2
C Re: Hide BCM toolbar BCM (Business Contact Manager) 1
T How do I hide/unhide folders in outlook inbox? BCM (Business Contact Manager) 1
J How do I disable advertising in Outlook 2019? Using Outlook 10
GregS Outlook 2016 Can I disable the Outlook Outbox? Using Outlook 2
R Disable conversation thread from replying of recipients in the same subject. Please help Using Outlook 0
N Disable Auto Read Receipts sent after using Advanced Find Using Outlook 4
N How to disable shortcuts for Pilcrow in Outlook Using Outlook 0
M Making Subject field writable (disable Read Only) Outlook VBA and Custom Forms 2
P Disable Spam Notifications & Sounds Using Outlook 3
O Outlook Web Access - how to disable spam filter Using Outlook 6
Diane Poremsky Disable Protected View for Outlook Attachments New Slipstick.com Articles 0
E Outlook 2010 disable date auto-complete Using Outlook 2
Diane Poremsky Disable Outlook Add-ins (Apps) New Slipstick.com Articles 0
J Using VBA to disable alerts / warnings Using Outlook 2
Diane Poremsky Disable the Unsafe Hyperlink Warning when Opening Attachments New Slipstick.com Articles 0
N How to disable user defined fields in BCM forms Using Outlook 2
Diane Poremsky Disable Live Preview in Outlook and Word New Slipstick.com Articles 0
D Preventing users to disable an Outlook Add-in Using Outlook.com accounts in Outlook 5
Similar threads


















































Top