outlook-2007-addin

How to add flash object into custom task pane of Outlook using VSTO?

Can you please let me know how to add flash object into the custom task pane using VSTO? ...

How to prevent non-admin user from disabling the Outlook 2007Addin?

As per the MSDN documentation with the Office 2007 system, office Addins are registered under HKCU and not under HKLM. I have an Outlook 2007 addin which is also registered under HKCU. But the problem is that, even non admin users can also disable the addin since it is in HKCU. However with Outlook2003 addin this was not possible becau...

Outlook Plug-In - Visual Studio closes on build

I am running Windows Vista using Visual Studio 2008 to build a Office 2007 Plug-in making use of WPF. Everything used to work fine until I installed .NET 3.5 SP1 and the WPF Toolkit. What happens is that when I build the solution Visual Studio closes unexpectedly. I have read up on this issue and the only related issues I could find wa...

is it possible to delete an email from outlook or outlookexpress programatically?

Hi, I want to know if it is possibel to create a COM component to monitor emails commin into Outlook 2007? I mean I just want to develop an addin kind of component which when loaded to Outlook should monitor the emails. Monitoring emails in the sense, is it possible to note the from email? and perfom some action such as delete that emai...

Expand/collapse folders in the Outlook navigation pane programmatically

I am writing an add-in for Outlook using C#. Is there are way to programmatically expand and collapse folders in the Outlook 2007 folders navigation pane? Also, is there an event fired when a folder is expanded? ...

How to get the sending email address from outlook 2007

I am working on outlook add-in project using Visual studio 2008 for MS Outlook 2007 in C#. Here I am explaining my problem... I got multiple accounts (3 Accounts) with my outlook 2007. I need to get accounts form Account box in New Mail Message window. When we click New Mail Message, a new window will appear from which we can send a new...

Outlook 2007 Add-in Exception Handling

I have an Outlook 2007 Add-in that I recently inherited and there is currently an issue in production where some users are getting their add-in disabled periodically and seemingly randomly. There are no logs from the Add-in and there are try/catch (and eat) blocks around every method/event call into the add-in code. I have done some go...

VSTO - Outlook 2007 How do I show a form inside the Outlook window?

Hello everyone, I'm using VSTO with Outlook 2007 and I need to show a form (or a user control) inside the main window in outlook when the user clicks a specific toolbar button, that is, I need it to appear in the same window that the reading pane appears and not to open in a window by itself. Is this possible? Thank you for your time. ...

VSTO - Outlook 2007 How do I show a user property even when it's not present?

I have added user property in a mail folder, let's call it UserProperty01. Some of the folder items have this property, some don't. I need to show in the folder's view if that property is set or not, so I added another property called UserProperty01Present, and I set it to true when I set the original property and false when I deleted it...

VSTO - Outlook 2007 How do I change the icon of a YesNo column in a folder view?

I have a YesNo column in a folder, and I added it to the folder view; it appears as a checked or unchecked checkbox. I've been asked to replace it with a green or red circle. Is this possible? Thank you for your time. ...

C# - AddStore not working properly in Outlook

I have been attempting this all morning (VS2K10, OL2K7, .NET 3.5) and my PSTs never attach. I've modified the path to include escaped slashes, no dice. I occasionally see the PST get added then disappear when I hit the command bar button for which I am trying to program. Here is a snip of my code: void b_removedPSTs_Click(Office.Comm...

C# - Looking to capture an event when a store is added/removed in Outlook

I am writing an add-in that needs to log when a PST is added/removed via the "Data File Management" menu or through AddStore/RemoveStore. I have been having difficulty on finding documentation on how to capture these events. Advice is greatly appreciated. Thanks, Larry EDIT: Here's my dummy code that's not working: using System; us...