MS Office, Outlook, Outlook 2007, Outlook 2010, Programming, Software, VSTO

Outlook Email Searches Broken by Indexing

Against any sort of logic, running email searches in Outlook on one of my development machines no longer returns any results for even the simplest searches.

I am running Windows 7 and Office 2007 on my development machine. On another, older development machine I am running Windows XP with Office 2007.

Now the strange thing is the inconsistency in how both versions of Office run. I’m not sure if it is the OS or some other factor, but the completely mystifying problem of Outlook on my Windows 7 machine not searching emails correctly appeared that I could not duplicate on my XP machine.

Continue reading “Outlook Email Searches Broken by Indexing”

Advertisement
.Net, MS Office, Outlook, Outlook 2007, Outlook 2010, Programming, Software, VSTO

VS2010 Outlook ThisAddIn – How to Get the Sent Email Message

When writing an email add-in for Outlook with Visual Studio, it’s really quite easy to get the email message object while the send event is in progress using the Application.ItemSend event. However this event happens before the email is sent, so although it can be useful, the Application.ItemSend event is often not the correct event handler to be used when working with Outlook email messages programmatically.

Continue reading “VS2010 Outlook ThisAddIn – How to Get the Sent Email Message”

.Net, MS Office, Outlook, Outlook 2007, VSTO

VSTO .NET4 Outlook 2007 Add-in: Referencing Form Regions Programmatically

In this article I intend to further expand on my series of articles covering VSTO development of MS Outlook Add-in components using Visual Studio 2010. In previous articles I have covered things such as adding custom actions to archive email messages via the Application_ItemSend event, as well as adding custom code to save Outlook email messages to a database in the .MSG format.

I will review how to integrate a custom form with events in the Outlook Add-in component. However, I won’t review the GUI aspects of custom form development in Visual Studio since this primarily involves stepping through Wizards and drag and dropping controls to the form UI in Visual Studio. I will assume this is fairly self explanatory and has been covered in depth by Microsoft on it’s support Web site.

Continue reading “VSTO .NET4 Outlook 2007 Add-in: Referencing Form Regions Programmatically”