Posts Tagged ‘Object model’
Eugene Astafiev | August 15th, 2011
As a developer, sometimes you may want to know what is attached to the e-mail you have selected or opened in Outlook. Today I will show you how to iterate over the attachments collection and get the required information about attached items, such as file name, display name and type...
Read the rest of this entry →
.NET, C#, COM add-ins, Object model, Office, Outlook, VB.NET, VSTO |
12 Comments
Dmitry Kostochko | July 2nd, 2010
In order to get a standalone application to communicate with a COM add-in, the application needs to have access to the running host application (Microsoft Excel in our case), get the COMAddins collection, find a needed instance of the add-in there and use reflection to call public methods or retrieve public properties...
Read the rest of this entry →
.NET, C#, COM add-ins, Excel, Object model, VB.NET, Visual Studio |
15 Comments
Sally Peck | June 17th, 2010
The Fast Shutdown feature found in Outlook 2010 represents a new direction for Microsoft Outlook towards Outlook stability and Outlook integrity. From Microsoft Outlook '97 till Microsoft Outlook 2007, system administrators around the world had to deal with Outlook hanging, Outlook Slow closing, corrupted PST (or OST) files and various Outlook Add-ins that hang for no reason...
Read the rest of this entry →
.NET, C#, COM add-ins, Delphi, Object model, Outlook |
No Comments
Andrei Smolin | May 6th, 2010
The Outlook object model doesn't allow showing the PrintPreview dialog. To show it in all Outlook versions, you need to call the Execute method of a corresponding command bar button. Also, in Outlook 2007 and 2010, you can invoke the corresponding Ribbon command using the ExecuteMso method of the Office.CommandBars class. Let's see how to do this...
Read the rest of this entry →
.NET, C#, COM add-ins, Object model, Office, Outlook, PIAs, Ribbon, Visual Studio |
2 Comments
Dmitry Kostochko | November 6th, 2009
In the previous sample, I showed how to get the PR_ATTACH_SIZE Extended MAPI property that returns the size of an Attachment object. To be more precise, it returns the size of the attached file and the size of some internal info. In most cases that makeweight does not matter at all...
Read the rest of this entry →
.NET, C#, COM add-ins, MAPI, Object model, Outlook, VB.NET, Visual Studio |
4 Comments