473,699 Members | 2,413 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Outlook Addin problem: disable Outlook send button

2 New Member
I am working on Outlook Addin developed in C# and VS-2008. In this we are having our own custom form .oft
On 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
Expand|Select|Wrap|Line Numbers
  1. Office.Core.IRibbonExtensibility interface.
  2. In ThisAddin file we have written the following method:
  3. protected override Microsoft.Office.Core.IRibbonExtensibility CreateRibbonExtensibilityObject()
  4. {
  5.     return new Ribbon();           
  6.  
  7. }
In Ribbon class the xml file is referenced which disable the particular groups from ribbon tab.
But this is applied to all the new mail items not only to my custom form.
Attached is image of my oft .

Thanks in advance.
Attached Images
File Type: jpg CustomForm.jpg (12.8 KB, 1716 views)
Jul 31 '09 #1
3 5646
tlhintoq
3,525 Recognized Expert Specialist
The thumbnail is so small that the detail cannot be made out. Can you put a fullsize image up someplace for us to see?

I'm not sure how you think a new ribbon is going to affect the existing ribbon. Does anyone else do a lot with overriding Office controls like this?
Jul 31 '09 #2
jubergolandaj
2 New Member
Actually the attached image is just a screenshot of our custom form in which I tried to show the our own "Send" button below in the form on clicking of which all processing will be done and on top in red circle the in built "Send" button which I want to hide/disable.

Just want hide/disable this in built "Send" button and some groups under tabs in outlook ribbon for our form only.
For this we tried to create the ribbon. It was not the requirement that we need to create a new ribbon and if we create one it will appear for all default outlook mail items while creating New mail or replying or forwarding.

Just let me know is there any other way to achieve it.
Aug 3 '09 #3
AlanGregory
1 New Member
Did you ever manage to resolve this, I am experiencing a similar issue.
Sep 16 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
327
by: Samuel Bernard | last post by:
Hi, I created an addin for Outlook 2003. It creates a menu in Outlook in order to allow the user to access severals options of our Web site. I use MsiInstaller of MS to install this addin which has some assemblies, all installed into the folder of my application (C:\Programs\CompanyName\ProductName). On two XP Pro SP2 stations I didn't have problems: the installation ran well and the addin also. But on a third station (part of the...
1
586
by: Jon | last post by:
I want to send an email using the Outlook Redemption addin. 1. I ran their standard install.exe file. Does this register the dll on the system also or is that a seperate thing I have to do? 2. Does anyone have a sample piece of code of how to send a simple plain text email using this addin? I just can't seem to work it out. Thanks,
4
1769
by: damian | last post by:
Help! I created a COM addin using vb.net based on the KB article 302896 (http://support.microsoft.com/default.aspx?scid=kb;en-us;302896). The problem is Outlook remains in memory when after it. I know the problem is in the OnStartupComplete function. If I comment this function out, Outlook closes properly. I have added a GC.Collect at the end, but that doesn't work either. I don't thing the "oCommandBars = Nothing" is actually getting...
0
2250
by: guilligan.geo | last post by:
Hello, I'm trying to create an addin for Outlook 2002 using the one provided in the demo of win32com as a starting point. I've been able to do my addin and test it if I go the "standard" way (using the python interpreter). But now, I want other poeple to use it to I want to freeze it for windows using py2exe and py2exe is giving me a headache. First, I cannot seem to be able to register my addin with the resulting executable. I've...
7
2609
by: Joseph Geretz | last post by:
I've been working on an Addin for Outlook in C#. It hasn't been long now, just a couple of days. Suddenly though, running my project in Debug launches Outlook as specified, but no breakpoints are hit in my source code. The Addin isn't being loaded. If I create a new Addin program from scratch, e.g. AddIn1, it loads up fine from Outlook. I archived my existing code, cleared out the registry and recreated a brand new Addin project with...
6
8771
by: Joseph Geretz | last post by:
I'm porting a C# Outlook Addin originally engineered as a COM Addin over to use VSTO. I've gotten this to the point where my VSTO Addin installs its Menu items and Toolbar buttons when Outlook launches. I've wired up my event handler to each Menu item and toolbar button. (I use the same Event handler and I use the Tag property which is different for every Menu Item and Toolbar buton to determine which menu or button is being clicked and to...
9
28827
by: JBuckner | last post by:
My macro uses the Send Object (VBA Item.Send) function to email a spreadsheet to an Outlook contact list. I want the function to be completely automatic but Outlook displays a security warning message (...another program is attempting to automatically email...) that requires user intervention before the macro will finish execution. Can anyone advise me on how to disable the Outlook warning? I tried the Warnings Off function but realized it...
6
1689
by: Pieter | last post by:
Hi, I developed an Outlook Add In (VB.NET 2005, for Outlook 2003) that sometimes suddenly stops loading. I've put everywhere in the code Exception Handlers, but no Exception is catched. it seems that other add ins aren't loaded afterwarths (nod32). Does anybody know a way to find out why an outlook add could do this? and find out after the problem what caused the problem?
1
2405
by: John | last post by:
Hi I have a simple Outlook 2003 AddIn created using Outlook 2003 AddIn template in vs 2008. The full code is given below at the end. I got warnings on Interop assemblies as I have Office 2007 installed while AddIn is 2003 but as I need to target both 2003 and 2007 I am sticking to lowest common denominator. I installed the AddIn by running the vs 2008 generated setup.
0
8689
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8916
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8885
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7752
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6534
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5875
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4376
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2348
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2010
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.