Updated Samples for Outlook 2007 Developers
Last week we uploaded revised versions of our sample code for Outlook 2007 add-ins. The biggest change to these samples is that they are now provided as both a shared add-in project and VSTO 2005 SE project, so that you can see how add-in development would work using either technology.
These samples should give you a good basis for working with form regions, custom task panes, rules, the Table and PropertyAccessor objects, Ribbon extensibility and context menu customization.
You can download the latest samples from the following links:
- Customizing the Ribbon in Outlook 2007
- Outlook 2007 Sample Add-ins: Rules Add-in, Travel Agency Add-in, and Prepare for Meeting Add-in
Comments
Anonymous
March 12, 2007
Hi Ryan, Great samples, however the Travel Agency sample doesn't seem to match the MSDN article in the area of custom form regions. The screen shot in the article shows the Itineraries List in the style of something like a ListView control, with columns, headings, etc. However the sample has a simple listbox control with string items. My question is this: Are new Custom Form Regions restricted to the set of Outlook Forms or Windows 2.0 Form controls? I'd like a ListView or even better a WebBrowser control for my Itineraries/whatever list. If we are limited to Outlook Forms Controls, how was the style in the article achieved? Cheers, SeanAnonymous
March 13, 2007
[Apologies if this is a double post] The Itineraries Form Region list is a simple olkListBox which, in the samples, is filled with string items. This does not match the MSDN article where the screen shot shows a list which looks more like a WinForms ListView or similar, i.e with columns, headings, etc. Can you use WinForms controls like ListView, or even better WebBrowser, in Outlook Form Regions? If not, how was the screen shot List Style achieved? Cheers, SeanAnonymous
March 13, 2007
The comment has been removedAnonymous
April 02, 2007
hi! I'm creating outlook 2007 mobile service. i was write to code. and i using this refenace http://msdn2.microsoft.com/en-us/library/bb277361.aspx outlook is send tihs message to inbox "Outlook did not receive response from the Web service because of a problem connecting to the server. Try again later." when i send SMS. so i see this error when i add account and click "test account" button. please help me! where i was do wrong. thanks all!Anonymous
April 12, 2007
When I installed the application, the detected dependencies for the TravelAgencyAddinCSSetup were disabled and referenced a path to the GAC that I was not able to change. How can I change the path? Do you have a copy that doesn't depend on your local development machine configuration?Anonymous
April 12, 2007
The comment has been removedAnonymous
April 12, 2007
Hi Ryan, I am having trouble with the PrepareMeVB_VSTO solution, it seems to be throwing an exception when trying to build the treeview, it is ok in the CS version. Here is the tract from the immediate window: Inspectors_NewInspector A first chance exception of type 'System.InvalidCastException' occurred in PrepareMeVB_VSTO.DLL Ribbon_OnLoad PrepareMeGroup_GetVisible PrepareMe_GetPressed Any pointers? Thanks