Posts Tagged ‘.NET’

How To: Create and send an Outlook message programmatically

Today I want to tell you the story about sending messages in Outlook programmatically. In one of my recent posts I showed two possible ways of creating and showing a new Outlook message. And now I want to make an addition to that: demonstrate how you can send a message programmatically... Read the rest of this entry →

Video: Developing an Excel Automation Add-in

As a follow up to the Creating managed Excel UDFs video, here is a video that explains how to build UDFs using Excel Automation add-ins. In addition to a solid demo, this video explains the differences between an UDF built with an Automation Addin and one built as an XLL... Read the rest of this entry →

How To: Create a new Outlook message based on a template

In my previous article, where I demonstrated how to create and show an Outlook message programmatically, a mail item object was created from scratch. Now I want to show you the way to create a new mail item based on a template... Read the rest of this entry →

How to create and show a new Outlook mail item programmatically: C#, VB.NET

One of the most widespread tasks in Outlook is creating and showing an e-mail item to the user programmatically (or just sending it silently). Today I will teach you how to do it in two different manners.... Read the rest of this entry →

Video: How to create Advanced IE bars

When we released Add-in Express for Internet Explorer and .NET, one of the first things I wanted to do was build some extensions that included custom IE bars. I quickly learned that what I wanted to use was not IE Bars but Add-in Express Advanced IE Bars... Read the rest of this entry →

Video: Internet Explorer bar UI synchronization

Internet Explorer implements that all-too-common tab interface. Each tab contains a web page that could be closely related to something in another open tab...or it could be something different entirely. Users open lots of pages at a time... Read the rest of this entry →

How To: Get Outlook e-mail item’s custom properties – C# and VB.NET samples

In my previous article How To: Add a custom property to the UserProperties collection of an e-mail item in Outlook I showed you the way to add a custom property to the UserProperties collection of an e-mail item in Outlook. Now I want to demonstrate you how to iterate over all user properties of an e-mail item... Read the rest of this entry →

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: 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 →

Video: Handling Office keyboard shortcuts

For almost every menu and/or Ribbon command in Microsoft Office, there is a keyboard shortcut for it. These shortcuts allow you to quickly and easy execute a command with a key stroke that might take several clicks of the mouse... 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 →

Have any questions? Ask us right now!