Posts Tagged ‘VB.NET’
Eugene Astafiev | September 20th, 2011
As you have probably guessed, this article will describe the Find and FindNext methods of the Outlook Items class. But before focusing on the functionality of these methods, I would like to draw an analogy with database programming in the .NET world. In ADO.NET there is the System.Data.SqlClient.SqlDataReader class which provides the Read method...
Read the rest of this entry →
.NET, C#, COM add-ins, Object model, Office, Outlook, VB.NET, VSTO |
3 Comments
Eugene Astafiev | September 12th, 2011
As a developer you may want to modify an e-mail before sending it (or just add some information, such as a non-disclosure agreement etc.). It is a fairly simple task that every Outlook developer should be familiar with. For example, sometimes you may need to change the subject of a message by adding an ID or something else to track the item in your Inbox; add something to the e-mail body...
Read the rest of this entry →
.NET, C#, COM add-ins, Object model, Office, Outlook, VB.NET |
60 Comments
Eugene Astafiev | September 8th, 2011
In my previous article, where I showed how to create and send an Outlook message programmatically, I added a recipient to the e-mail. Now I want to delve deeper and show you what you can do with the Recipients collection. Outlook developers frequently need to add recipients to the TO, CC and BCC fields...
Read the rest of this entry →
.NET, C#, COM add-ins, Object model, Office, Outlook, VB.NET, VSTO |
31 Comments
Eugene Astafiev | August 31st, 2011
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 →
.NET, C#, COM add-ins, Object model, Office, Outlook, VB.NET, VSTO |
8 Comments
Eugene Astafiev | August 19th, 2011
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 →
.NET, C#, COM add-ins, Object model, Office, Outlook, VB.NET, VSTO |
33 Comments
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