‘HowTo samples’ category archive

How To: Add a custom property to the UserProperties collection of an Outlook e-mail item

Today I want to tell you the story about Outlook user properties. Each item in Outlook such as MailItem, AppointmentItem, ContactItem and etc. (except for the NoteItem) provides you with the UserProperties property which returns an instance of the UserProperties class... Read the rest of this entry →

How To: Get a list of Outlook attachments

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 →

How To: Add an existing Outlook e-mail message as an attachment

Now I want to show you how to attach an e-mail instead of a regular file. For such task I created a simple method in the code called AddMessageAsAttachment. This method attaches a MailItem object to the e-mail message and accepts two parameters: the first is the container e-mail message and the second one is an e-mail message which should be attached... Read the rest of this entry →

How To: Add an attachment to an Outlook e-mail message

Sometimes developers need to create an add-in, which automatically sends reports based on some rules. The report can hold one or more attachments with the data the recipient needs. Today I will show you how to attach something to the e-mail message programmatically... Read the rest of this entry →

How To: Respond to an Outlook email programmatically

Several Outlook item types provide the Forward, Reply and ReplyAll methods. Let's see how to respond to an Outlook.MailItem... Read the rest of this entry →

How To: Get any standard / default folder in Outlook

One of the most common tasks in Outlook programming a developer may face is getting a standard folder. Here I will show you how to get it... Read the rest of this entry →

How To: Delete a folder in Outlook

Some time ago I showed a way of creating a folder in Outlook. Now I want to show the reverse operation – deleting a folder. The Outlook Object Model provides the Delete method of the Folder class for such task. It doesn’t accept any parameters and doesn’t return any value. It just does its job!... Read the rest of this entry →

How To: Create a new folder in Outlook

Today I will show you how to create a new folder in Outlook. As you have probably noticed, the Outlook Object Model provides the Folders class... Read the rest of this entry →

How to specify account for an outgoing Outlook message

How to specify account for an outgoing email message in Outlook 2000-2010?... Read the rest of this entry →

Customize Office 2010 Ribbon UI programmatically

The Microsoft Office Ribbon is probably one component we all use in almost every MS Office add-in. In today's post we'll take a closer look at the Office 2010 Fluent Ribbon UI as well as various ways you can customize it to fit your needs... Read the rest of this entry →

Creating integrated Office solutions with Add-in Express

Add-in Express enables you as a developer to quickly and easily create, not just MS Office add-ins but also Excel XLL add-ins, Excel Real-time data (RTD) servers and smart tags. In this post I'll demonstrate how you could include all this functionality in one Visual Studio project. Start by creating a new ADX COM Add-in project in Visual Studio... Read the rest of this entry →

Programming for Outlook Business Contact Manager (BCM)

Microsoft Business Contact Manager or BCM is a great way for mostly small businesses to manage their business contacts, sales leads and projects. The beauty of BCM for MS Office developers is the fact that it is entirely contained within MS Outlook; giving the user a seamlessly integrated experience with Outlook... Read the rest of this entry →

How to customize Office 2010 and 2007 Ribbon with your own tabs or controls

In today's post I'll demonstrate how you can insert your own ribbon tabs (for Office 2007-2010) and controls (for Office 2000-2003) before or after Office's built-in tabs or controls. I'll also show you how you can add an existing built-in Office control to your own ribbon tab... Read the rest of this entry →

How to add a custom header to your Outlook form or task pane: C# and VB.NET

Usual Add-in Express advanced region or task pane can has a header - a multi-functional area above the region that allows the end-user to minimize the region, close it or switch between forms located in the same region... Read the rest of this entry →

HowTo: Communicate with a COM add-in from a standalone application

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 →

Outlook Events Logger Add-in – release version

Some weeks ago we published Beta 1 of Add-in Express Events Add-in for Outlook, free add-in or rater tool that can help you learn events in the Outlook 2000-2010 Object Model. Today we have the Release version ready... Read the rest of this entry →

Have any questions? Ask us right now!


Warning: Undefined array key "howto-samples" in /usr/home/sites/add-in-express.com/bitrix/templates/add-in-express/bottom_banner.php on line 239