outlook-addin

Disable/Hide in built Send button in Outlook form

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 h...

Outlook 2007 plugin

I am about to embark on my first outlook 2007 plugin. I would like to create a new tool bar that will have a button that will initially be disabled. When the user selects a message the button should be enabled... but only if the email is of a certain type of email... This is where I need your expert advice, is there a way to quickly...

Is there any other way to open website programmatically inside Outlook 2007

Our company has a intranet based website using which we have to place request for conference calls, every time we have to place a request we have to get the details of persons from Outlook properties and fill in the form. To overcome this, I am creating a Outlook Add in, which will open the website using .NET WebBrowser control , fill in...

My VSTO 3.0 Outlook addin doesn't load

I'm trying to diagnose why my Outlook plugin written in C#/VSTO 3.0/VS 2008 doesn't load after being installed. The plugin works awesomely on my development machine, which has Visual Studio 2008 installed. I can't expect all my users to have all the prerequisites though so I went through these steps to write an installer: http://msdn.m...

SQL Server CE + Addin Read and Write Collision Avoidance?

We have an Office Addin that uses Sql CE with the usual DBConnection to a *.sdf in the filesystem ('C:/...etc...'). When we start two copies of the application having the Sql CE-augmented Office Addin (testing what a user might do by mistake) the Sql CE database becomes corrupted and the Office Addin can no longer access its data. It...

Sender image with outlook addin

Is it possible to show an image of the mail sender in mail body with Outlook? I am thinking of developing this feature as an addin that will lookup the sender's mail address and get an image of the sender and put it into the mail body. Is that possible with Outlook object model or C#? ...

Outlook Addin accessing exchange recipient in offline mode?

I'm creating an Outlook addin using VS 2008 and C#. In order to function this addin goes through all the e-mail using Redemption and parses it. I've recently run into the issue of somebody opening outlook without a network connection (network offline, unplugged, or it's mobile like a laptop and happens to not have connectivity at the m...

Creating custom Inbox item in Outlook - C#

Hello, Im creating an addin for Outlook 2007. I have no problems creating custom folders and custom MailItems or PostItems and moving them to my folders. But Outlook assumes, that all those items I create (using Application.CreateItem) are to be sent - It allows me only to change the "To" property, but there's no "From" property. In o...

VSTO Outlook integration - Outlook shutdown event for synchronization

I'm working on a VSTO Outlook 2007 add-in that basically synchronizes Outlook data with web service. There are three types of synchronization that I want to have in the app: startup sync, manual sync and sync on shutdown. The first two as simple and are already done. However I have problems finding an appropriate event to fire to handle...

Associating custom ribbon with custom form region - Outlook 2007, C#

Hello, Is there any way how can I associate custom ribbon (custom tabs and buttons I created in VS designer) with a custom form region? I know that I can extend the existing windows with my ribbon (such as Compose message, Contacts...), but how can I create a new tab with custom ribbons at the top and custom form region at the bottom. ...

Modifying email addresses in TO and CC using Outlook Add in

I am creating an outlook add in which needs to make modifications on the TO and CC fields before sending the message. I tried editing the TO property of the MailItem object but when I edit it, the mail doesn't get sent, it gets stuck in the Outbox. I also looked at the Recipients collection but it's read only so not of any use. Is there ...

Outlook modify and Save() MailItems - slow

I need to modify many MailItems in Outlook 2007. I need the mails to immediately refresh in the main Outlook grid - the only way to do this I found is to call MailItem.Save(). foreach (var item in folder.Items) { var mail = item as MailItem; if (mail != null) // process only MailItems { setUserProperty(mail, use...

How to add toolbar button to contact item window in Outlook?

I am developing an add-in for Outlook. One requirement is to add a toolbar button to the contact item window. Can anyone tell me how to implement it? Thanks. ...

How to create a button like New Mail in Outlook add-in?

Can anyone pls tell me how to create a button(in CommandBar) like 'New Mail' (with a dropdown list) in Outlook? When one clicks on the button it should do some action and when clicked on the down arrow mark, it should populate a list of items. I am in need of this very much. If anyone know the answer pls let me know. Thanks in advance!...

Customizing outlook forms locally

Is it possible to customize Outlook forms locally on users' computers without using exchange for deployment? We developed an addin for outlook, a small customization needs to be done on the clients that the addin will be deployed, but we won't be using Exchange for deployment of the customized forms. Is this possible? ...

Outlook 2007 Add-in Memory Leak?

Hi all, I've created a simple Outlook 2007 add-in using C# which loops through a selection of Messages and examines their attachments. I'm running this add-in on a set of ~25,000 selected Messages. Immediately, however, I notice the memory usage of Outlook (seen via perfmon) shooting up. After running the add-in in debug mode, line-b...

Is there a list of IDs for the Outlook MAPI namespace?

I'm working on an Outlook add-in and I'm looking for a complete list that relates that MAPI properties to there names that is a little less vague than this. There is plenty of documentation on how to access those properties, but I'm not having much luck finding anything that tells me what any of the properties are. P.S. I've seen this...

How do I access an Outlook email attachment in C# without saving it to a new location?

I am using Microsoft.Office.Interop.Outlook in C# to access a mailbox and find messages with specific file attachments. I need to interact with the attachments. Currently, I am saving the file to a new location and accessing it from there. This copying process is slowing me down. I'd ideally like to access the file from wherever it is ...

Is it possible to add controls to the Existing reading pane in the Outlook?

I know a lot of ways how to extend Outlook and add new Reading Panes and Inspectors to the Outlook, but what really bugs me is how to extend and modify the existing reading panes? I'd like to add more information on these panes without recreating them from scratch. ...

How to automate the testing of Outlook Add-In?

I have an Outlook Addin developed in C#,VSTO and has a lot of unstructured code and very huge in size. every time there is a modification / Update ,I have to Manually test it from end to end which is very painful and time consuming. This add in has a lot of rules whch pops up alert / dialog box and user has to take some actions on that. ...