Outlook Developer News
Another round of sample VSTO add-ins for Outlook
Here are more sample add-ins using Visual Studio 2008 and Outlook 2007:
Outlook and VS2008 on video
Microsoft has a new Office Developer Show series that offers tips on creating applications for Outlook and other Office programs. Some highlights:
- Episode 2 - how to create a class in an Outlook project to avoid the object model security prompts
- Episode 4 - a tip about saving and restoring the position of custom toolbars in Outlook 2007
- Episode 5 - an Outlook add-in that uses the Application.ItemSend event to help users remember to send an attachments
Using the Outlook object model with .NET
Matt Staehle, who works on Microsoft's Messaging Developer Support Team, has been running a series of articles on working with the Outlook object model in .NET languages. Read all the installments to pick up best practices and avoid common mistakes. Code examples are in C#:
Integrating .NET controls in a folder home page
A folder home page (or FHP) is a web page displayed in an Explorer window in Outlook. A simple FHP might include an Outlook View Control (OVC) instance to show the folder contents, plus other controls to add functionality, such as filtering the view to show only items related to the current user. Two samples are available for more complex implementations using managed code controls.
In the article Outlook Folder Homepage: Hosting WPF, ActiveX and Windows Forms controls, Hülya Pamukçu describes how to incorporate Windows Presentation Foundation controls into an FHP, including a control that wraps an OVC. A complete code sample is available.
An earlier MSDN article, Outlook Customization for Integrating with Enterprise Applications, describes a CRM application that wraps an OVC in a managed code control and hosts it in an FHP. The accompanying sample is written for VSTO 2005, not VSTO 2005 SE or VS 2008, so you won't be able to load the project directly. You should, however, be able to start a new Outlook VSTO add-in project and add the code files from the CRM project to see how it works.
New tools for VSTO developers
Microsoft has released some unsupported, but handy free tools for Visual Studio Tools for Office developers. Of particular interest to Outlook programmers will be the Office Custom UI Manager for coordinating multiple Ribbon, task pane, and form region instances, the VSTO Troubleshooter to help with deployment prerequisites, and, especially for C# developers, the Office Interop API Extensions to handle parameterized and optional properties. See:
From the Forums
| File Attach Code |
| I am looking for VBA code that will automatically attach a particular file when the user sends a message to a specific email address. I am using Outlook 2007 and would appreciate any help with that.
Thanks |
| Getting the error 426 to create new contact... |
| Sir,
I am using Vb 6.0 and outlook 2007. I am creating new contact using following code:
Public bufferItem As Outlook.ContactItem
Set bufferItem = Outlook.CreateItem(olContactItem)
On this code i am getting the error:
ERROR: 462 The remote... |
| How do you create an image/picture field... |
| The default Outlook 2007 contact form has a place to enter a contact's picture and also a Business Card which fills out automatically as you fill in the fields. But when you create a new contact form based on the contact template, there is no picture... |
| How do I get my contact data into my new... |
| I just finished creating a new contact form in Outlook 2007 and it works great when I open a new contact. I exported my old contact data to a .csv file and then imported it back into my contact folder, but when I open a contact, it is still in the default... |
| Outlook Add-in with Terminal server |
| We have a problem with the Add_in using Outlook 2003 on a Terminal Server Win 2008.
We have registered the add-in in HKLM but only one terminal users can connect the add-in.
What's the problem? |
| 'View In Overlay Mode' VBA |
| Hi Sue / All,
Im using Outlook 2007 client and creating a number of additional calenders each containing various appointments.
I have a handle on the individual calendars and would like to automatically set them to 'View in Overlay Mode' however,... |
| Mail header from Outlook.MailItem object |
| I have an Outlook.MailItem object and need the complete mail header.
Is it possible to get the complete mail header in VB.Net from an Outlook.MailItem?
Or is it somehow possible to get the complete ASCII message (you could also call it the "source... |
| Once Outlook profile is removed and re-created,... |
| Hi,
I have installed Outlook 2007 Add In.
Add In works as per the expectation.
Then I have removed Outlook Profile and re-created the same.
Outlook Add In is moved to Inactive section.
What could be reason ?
I have used Machine Level policy... |
| How to create a progress/status bar in outlook... |
| Hi
I have a macro in a form that loads up information from a database and adds it to a combobox in a form through a loop of about 300-2000 items.
This takes some time to do, and currently the computer screen appears 'frozen' for about 10-15 seconds.
I... |
| How to access File Browser |
| I have designed one form for sending a mail.with attachment.But how to add attachment by searching file as we do i normal oultook mail.
Means i want to open file browser then my file form any loction and then its should be attached to the mail.
I... |