Presentation is loading. Please wait.

Presentation is loading. Please wait.

Ty Anderson, Damon Armstrong Cogent Company Session Code: OFC325.

Similar presentations


Presentation on theme: "Ty Anderson, Damon Armstrong Cogent Company Session Code: OFC325."— Presentation transcript:

1

2 Ty Anderson, Damon Armstrong Cogent Company Session Code: OFC325

3 RDG Index Project success validation metric Rounds of Disc Golf Success Curve Futility Curve Death March Minimum Success Threshold Minimum Failure Threshold Project Success + - - +

4 Session Objectives What you should walk away knowing Learn the different methods available for customizing the Outlook UI Form Regions Office Fluent UI (a.k.a. the ribbon) Task Panes Learn about the VSTO Power Toys Task Panes with the UI Manager

5 Session Objectives (Continued) What you should walk away knowing Learn how to work with the Outlook Object Model using VSTO Learn to integrate a process into Outlook that coordinates the different UI elements Learn a bit about using WPF in a VSTO project

6 Today's Scenario Task Management in Outlook Outlook supports task lists out of the box But we want to manage task hierarchically (i.e. sub-tasks) But we want to manage task hierarchically (i.e. sub-tasks)

7 Today's Scenario Task Management in Outlook IDID001001 ParentIDParentIDNULLNULL IDID002002 ParentIDParentID001001 IDID003003 ParentIDParentID001001 IDID004004 ParentIDParentID002002

8 Customizing The Outlook UI The Main Window (aka Explorer) CommandBarsCommandBars Form Region ( adjoining ) Form Region ( adjoining ) Task Panes Form Region ( separate, replacement, replace-all ) Form Region ( separate, replacement, replace-all )

9 Customizing The Outlook UI The Outlook Item (aka Inspector) Task Panes Form Region ( adjoining ) Form Region ( adjoining ) The Ribbon Form Region ( separate, replacement, replace-all ) Form Region ( separate, replacement, replace-all )

10 Demo System Requirements Office 2007 (Required) Preferably an installation that includes Outlook :) Visual Studio 2008 (Required) Preferably with the VSTO option :) VSTO Power Tools v1.0.0.0 (Required) http://www.microsoft.com/downloads/details.aspx?FamilyId=46B6BF86-E35D-4870-B214-4D7B72B02BF9&displaylang=en A cold one (Recommended)

11 WPF and Outlook Damon Armstrong Senior Architect Cogent Company

12 Key Points About WPF Wrap Outlook objects to enable binding notification support INotifyProperty IObservable

13 Building a Form Region that Displays Related Tasks Ty Anderson Partner Cogent Company

14 Key Points About Form Regions Four types Separate Adjoining Replacement Replace-all Key class and objects This.OutlookItem This.OutlookFormRegoin Globals

15 Building and Managing Task Panes Ty Anderson Partner Cogent Company

16 Key Points About Task Panes The VSTO Power Tools UI Manager is your friend Manages task panes attached to explorers and inspectors Provides access to ribbons and form regions as strongly-typed objects Implementing the UI Manager is easy 4 step process to implement it in your code Task Panes are really just user controls

17 Customizing the Office Fluent UI and Re-Purposing Ribbon Button Actions Ty Anderson Partner Cogent Company

18 Key Points About Custom Ribbons Two methods for designing custom ribbons Ribbon Visual Designer Ribbon XML Use Ribbon Visual Designer template for: WinForm-esque design experience Ribbon XML template enable advanced stuff: Adding built-in groups to a custom tab Adding built-in control to a custom group Customizing the quick access toolbar Re-purposing button action events You can always export a visual ribbon to Ribbon XML

19 Avoid the Top 7 Outlook Dev Gotchas Let go of your pride and steal code from Outlook’s VBA help file Become proficient with Explorers and Inspectors Start with adjoining form regions Likewise, start with the Ribbon Visual Designer Use the VSTO Power Tools Save properly and release your COM Objects to avoid orphan Inspectors Do not attempt an “Extreme Makeover: Outlook Edition”

20

21 This year the scale is 5 through 1 This year the scale is 5 through 1 Please fill out an evaluation!!! Evaluations for OFC-325 5 is the highest score and 1 is the lowest 5 is the highest score and 1 is the lowest Our evaluations keep us coming back!!! Our evaluations keep us coming back!!! If you are unsure about scoring -- this was 5 = ) If you are unsure about scoring -- this was 5 = ) if (Session.Score<5) { You.LeaveComment(Please) } if (Session.Score<5) { You.LeaveComment(Please) }

22 www.microsoft.com/teched Sessions On-Demand & Community http://microsoft.com/technet Resources for IT Professionals http://microsoft.com/msdn Resources for Developers www.microsoft.com/learning Microsoft Certification and Training Resources www.microsoft.com/learning Microsoft Certification & Training Resources Resources

23 Complete an evaluation on CommNet and enter to win!

24 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "Ty Anderson, Damon Armstrong Cogent Company Session Code: OFC325."

Similar presentations


Ads by Google