Office as a development platform with Visual Studio Daniel Moth Developer and Platform Group Microsoft

Similar documents
Andrew Coates Microsoft Australia Session Code: OFC343

An Overview of Microsoft Visual Studio 2008

Business Data Catalog (BDC), 11, 21 business intelligence, 11 buttons adding to Ribbon interface, 37 making context-sensitive, 126

Break Through Your Software Development Challenges with Microsoft Visual Studio 2008

Developing Applications Using Visual Basic 2008: Volume 2

Microsoft Office Programs and SharePoint Products and Technologies Integration Fair, Good, Better, Best

Build Better WPF & Silverlight applications using Prism v2

Visual studio 2008 overview

MICROSOFT VISUAL STUDIO 2010 Overview

1. I NEED TO HAVE MULTIPLE VERSIONS OF VISUAL STUDIO INSTALLED IF I M MAINTAINING APPLICATIONS THAT RUN ON MORE THAN ONE VERSION OF THE.

Xiaoying Guo Program Manager Microsoft Server and Tools China Session Code: DEV377

Microsoft TechEd US, Europe, Malaysia, Visual Studio Connections, DevTeach, INETA Speakers Bureau, MSDN Webcasts

Ronnie Saurenmann Architect Microsoft Switzerland

Page 1. Peers Technologies Pvt. Ltd. Course Brochure. Share Point 2007

Microsoft SQL Server Reporting Services (SSRS)

SHAREPOINT 2013 DEVELOPMENT

CSC203. Mbwana Alliy Product Manager- Office Managed Business Microsoft Corporation

Agenda. The Visio 2010 Fluent UI (The Ribbon) Connected Diagrams Hierarchal Diagrams Scheduling Diagrams Publishing Diagrams

DOWNLOAD OR READ : VISUAL STUDIO ADD PROJECT TO SOLUTION PDF EBOOK EPUB MOBI

Index A Access data formats, 215 exporting data from, to SharePoint, forms and reports changing table used by form, 213 creating, cont

Colligo Contributor 4.3 SP6. Release Notes

CA Plex Status and Plans

What s new in ASP.NET 3.5? Mike Ormond Developer & Platform Group Microsoft Ltd

Call: SharePoint 2013 Course Content:35-40hours Course Outline

Introduction to.net Deployment. Brian Noyes IDesign, Inc. (

Architecture and Governance with SharePoint for Internet Sites. Ashish Bahuguna Kartik Shah

Migrate Your Skills to Microsoft.NET Framework 2.0 and 3.0 using Visual Studio 2005 (C#)

WHAT S NEW IN SQL SERVER 2016 REPORTING SERVICES?

Getting Started With System Center 2012 R2 Orchestrator

Kunal Mahajan Microsoft Corporation

Pro SharePoint Solution Development

THE RIBBON THE OFFICE BUTTON TABS, CONTEXTUAL TABS, PROGRAM TABS

E-LEARNING SHORT COURSES IN MICROSOFT INFOPATH

MS 50547: Microsoft SharePoint 2010 Site Collection and Site Administration Duration: 5 Days Method: Instructor-Led

: Course : SharePoint 2016 Site Collection and Site Administration

SHAREPOINT 2007 DEVELOPER S GUIDE TO

Windows 8. Rainer Stropek. System Architecture. System Architecture re of Windows Store Apps. Saves the day. software architects gmbh

USER GUIDE. We hope you enjoy using the product, and please don t hesitate to send us questions or provide feedback at Thank You.

What s new in Livelink ECM edocs DM

Deployment guide for Duet Enterprise for Microsoft SharePoint and SAP Server 2.0

SYNCFUSION ESSENTIAL STUDIO ENTERPRISE EDITION

User Computer Requirements and Installation Guide

MICROSOFT DEVELOPER AND DESIGNER TOOLS Product Guide

MICROSOFT DEVELOPER AND DESIGNER TOOLS Product Guide

MindManager Enterprise for Windows Release Notes

SYNCFUSION ESSENTIAL STUDIO ENTERPRISE EDITION

SITE DESIGN & ADVANCED WEB PART FEATURES...

Big Wins with Document

Colligo Contributor Pro 4.4 SP2. User Guide

MacroView ClauseBank Version 8.2

"Charting the Course... SharePoint 2007 Hands-On Labs Course Summary

SP2010 and Internet. Thierry Gasser Microsoft Switzerland. SharePoint de Contact. 3 novembre 2011

Microsoft Office Groove Server Groove Manager. Domain Administrator s Guide

Microsoft SharePoint 2010 The business collaboration platform for the Enterprise and the Web. We have a new pie!

Fundamentals: Managing and Extending Microsoft Office & SharePoint with EMC Documentum

Windows Mobile. Bob Hunt Sr. Messaging Technology Specialist Microsoft Corporation

Office 2007 Reference Office Fluent User Interface Xml Schema

Beta Material. This is subject to change

Discovering Computers & Microsoft Office Office 2010 and Windows 7: Essential Concepts and Skills

Excel4apps Web ADI Investigation with Excel4apps Wands version Excel4apps Inc.

Building Rich Interactive Applications with Silverlight

Road Map for Essential Studio 2011 Volume 2

Microsoft Partner Day. Introduction to SharePoint for.net Developer

SHAREPOINT 2010 OVERVIEW FOR DEVELOPERS RAI UMAIR SHAREPOINT MENTOR MAVENTOR

Making Supercomputing More Available and Accessible Windows HPC Server 2008 R2 Beta 2 Microsoft High Performance Computing April, 2010

Mastering VB.NET using Visual Studio 2010 Course Length: 5 days Price: $2,500

Infopath Cannot Open The Following File The Form Contains Schema Validation Errors

Web Platform Introduction With a focus on free. Mike Taulty Developer & Platform Group Microsoft Ltd

Office Adapters for Quark Publishing Platform

Symantec ediscovery Platform

ArcGIS Pro SDK for.net Beginning Pro Customization. Charles Macleod

Application Integration with WebSphere Portal V7

The SOAP Story. Martin Parry Developer & Platform Group Microsoft Ltd

Explorer View document libraries, 165 form library, 183

SharePoint 2013 End User

2007 MICROSOFT OFFICE SYSTEM USER INTERFACE DESIGN GUIDELINES PREVIEW

Colligo Contributor File Manager 4.3. User Guide

Before you start proceeding with this tutorial, we are assuming that you are already aware about the basics of Web development.

Deploying Windows 10

SharePoint 2016 Site Collections and Site Owner Administration

Part I: Programming Access Applications. Chapter 1: Overview of Programming for Access. Chapter 2: Extending Applications Using the Windows API

Egress Switch Desktop Client

Windows Presentation Foundation In Windows Forms And Vice Versa

Hands-On Lab. Getting Started with Office 2010 Development. Lab version: Last updated: 2/23/2011

Microsoft SharePoint Designer 2010

> Introduction to Office Extensibility. > Microsoft Graph and Excel Integration. > Office Add-ins and Excel Extensibility

Save and share files in the cloud by using OneDrive for Business

What s new in Voice OCS 2007 R2

Choosing a Development Tool

Birds of the Same Feather BizTalk and WCF K.Meena. Director SymIndia Training & Consultancy Pvt Ltd Session Code:

ArcGIS Pro SDK for.net Advanced User Interfaces in Add-ins. Wolfgang Kaiser

"Charting the Course to Your Success!" MOC Microsoft SharePoint 2010 Site Collection and Site Administration Course Summary

CHAPTER 1: WHAT S NEW IN SHAREPOINT

+guodno^ Software Key: Microsoft Visual Studio 2008 Professional [OLD VERSION] Crack Download (Free License Key)

Getting Started Guide

USER GUIDE. We hope you enjoy using the product, and please don t hesitate to send us questions or provide feedback at Thank You.

Introducing Office

Migrate User Data & Customizations to MindManager 2018

Microsoft SharePoint 2013 for SharePoint Readers, Authors and Site Managers

2012 Microsoft Corporation. All rights reserved. Microsoft, Active Directory, Excel, Lync, Outlook, SharePoint, Silverlight, SQL Server, Windows,

Transcription:

Office as a development platform with Visual Studio 2008 Daniel Moth Developer and Platform Group Microsoft http://www.danielmoth.com/blog

AGENDA VSTO Overview Office Ribbon Designer Custom Task Pane Action Pane Outlook Form Region Designer Word Content Controls VBA <-> VSTO interop ClickOnce Deployment

Roadmap 2007 2003 Workflow & Microsoft SharePoint support Office 2007 system-specific features, file format, UI App-level add-ins for more client applications Deeper server-side programming VSTO fully integrated into Visual Studio 2008 2007 2003 App-level add-ins for most popular Office apps Runtime support for key Office 2007 UI elements (Custom Taskpane, Ribbon, Outlook form regions) Runtime support enabling Office 2003 doc-level customizations to run in Office 2007 Custom Document ActionsPane Host Controls on document surface Cached data in the document Server-side data processing Application-level add-ins for Outlook

VSTO Functionality Over Time 100 90 80 70 60 50 40 30 20 10 Doc-level 0 SP Workflow, new designers, functional extensions infra investments 11 Office add-ins, infra investments Outlook add-ins, VSTA in InfoPath functional extensions infra investments v1:2003 v2:2005 2005 SE v3:2007 vn:o14 Other Server Functional extensions Infrastructure services Deployment & Security Add-ins Doc-level

Doc-Level Version Resilience v1 solutions use the VSTO v1 runtime v2 solutions use the VSTO v2 runtime v3+ solutions use the VSTO v3+ runtime Reduces the number of runtimes (improves performance, working set) Eliminates type name clashes in DefaultDomain Based on the Managed Add-in Framework Common VSTO/VSTA runtime

Set the scene inc document level addins

Fluent UI Ribbon, Custom Task Panes, Actions Pane, Form Region

Ribbon Office Ribbon New Look and Feel for Office UI Tab Group Control Replaces Command Bars in the big 5 Office apps Introduces a new extensibility model: RibbonX Enables you to Customize office tabs, Add to built-in tabs Remove tabs, groups and controls Add to Office menu, Override built-in UI

XML-based Customisation Support Ribbon XML structure requires a specific hierarchy For example: <customui xmlns="http://schemas.microsoft.com/office/2006/01/customui" onload="onload"> <ribbon> <tabs> <tab idmso="tabaddins"> <group id="mygroup" label="my Group"> <togglebutton id="togglebutton1" size="large" label="my Button" screentip="my Button Screentip" onaction="ontogglebutton1" imagemso="accessformmodaldialog" /> </group> </tab> </tabs> </ribbon> </customui>

Ribbon Customization Office built-in support for XML-based customization model VSTO 2005 SE support Simplifies hookup from.net via pre-generated classes and sample XML VSTO v3.0 (Visual Studio 2008) support Adds full-blown visual designer support Export to XML option A more robust programming layer inc. events

Ribbon Designer Property Grid Design Surface Ribbon Control Toolbox

Custom Task & Actions Panes VSTO simplifies and speeds up task pane UI design process with visual designers and.net hookup Actions Pane More robust, easier to program alternative to Office s built-in Smart Document technology Custom Task Pane The same general idea as Actions Pane, only on the application add-in level, not individual doc

Pane UI Customization Actions Pane Custom Task Pane Introduced VSTO 2005 / Office 2003 VSTO 2005 SE / 2007 Office When to use Availability Whenever task pane UI is specific to an individual document or template Word document / template Excel document / template (both 2003 and 2007) Whenever task pane UI is specific to an application feature added by the addin, regardless of document Word 2007 Add-In Excel 2007 Add-In PowerPoint 2007 Add-In Outlook 2007 Add-In InfoPath 2007 Add-In

Custom Task Panes and Action Panes

ActionsPane Architecture Document Actions Task Pane VSTO Invisible ActiveX Control WinForms UserControl (ActionsPane)

Outlook Form Region Features New technology in Outlook 2007 for enhancing and replacing Outlook s built-in forms Code behind form region is implemented as COM add-in New controls provide built-in look & feel and data binding to Outlook data

4 Types of Form Regions Adjoining and Separate Custom and built-in forms Replacement and Replace-all Custom forms only Reading Pane can display all types except Separate

Adjoining in Reading Pane

Adjoining in Inspector

Separate

Replacement & Replace-All

VS2008 Outlook Form Regions VSTO eases development of Outlook form regions Configure form region with a simple, intuitive wizard Debugging (F5), Intellisense Import Use wizard to import Outlook-created OFS file Controls are referenced & cast to correct name & type Design Designer supports WPF and Windows Form controls Properties window exposes manifest

Outlook Form Region

Fluent UI Form Region Document- level Actions Pane Ribbon UI Customization App-level Custom Task Pane Excel 2007 Word 2007 Outlook 2007 PowerPoint 2007 InfoPath 2007

Word Content Controls

Word Content Controls New experience for developing structured documents in Word 2007 New UI for developers to access Word Content Controls Programmable through Word Object Model Support for XML Mapping

Toolbox Support Word content controls available in Toolbox Increases discoverability of content controls Drag-and-drop experience

Property Grid Support Easily access the properties and events of the content controls

Programming Paradigm Windows Forms style programming model Generate event handlers Support for IntelliSense

Word Content Controls

Two-Way Simple Data Binding Two methods to data bind Drag and drop support from Data Sources window Set up through the property grid

UI Feature Availability Ribbon (2007 versions of Word, Excel, Outlook and PowerPoint ) Actions Pane (document-level projects only) Custom Task Pane (2007 versions of Word, Excel, Outlook, InfoPath and PowerPoint) Outlook Form Region (Outlook 2007 only) Word Content Controls VSTO 2005 + VSTO 2005 SE Simplified hookup Sample XML Word 2003 (doc, dot) Excel 2003 (xls, xlt) Simplified hookup Visual designer VSTO v3.0 Simplified hookup Sample XML Visual designer Richer programming layer Export-to-XML option Word 2003 (doc, dot) Excel 2003 (xls, xlt) Word 2007 (docx/m, dotx/m) Excel 2007 (xlsx/m, xltx/m) Simplified hookup Visual designer Visual designer Configuration wizard Import from existing Drag n drop controls Simple data-binding Lock controls and content

Where we ve been, what s left VSTO Overview Office Ribbon Designer Custom Task Pane Action Pane Outlook Form Region Designer Word Content Controls VBA <-> VSTO interop ClickOnce Deployment

Call VSTO from VBA You enable VBA via COM Interop Interop implemented at design time You can then call VSTO from VBA with IntelliSense after building the project

VBA and VSTO Interop

ClickOnce for Office Add-ins Low-impact deployment mechanism Self-contained Solutions installed per user Prerequisites are installed if the user is an admin ClickOnce support Full end-to-end solution installation Richer version-independent security model Offline access via the ClickOnce Cache

ClickOnce Deployment

Summary The rationale for the VSTO architecture Bring together Office and.net Provide a sophisticated developer experience Provide a solid baseline runtime infrastructure Office is a true development platform

MSDN in the UK Visit http://msdn.co.uk Newsletter Events Screencasts Blogs

Resources Visit the VSTO Developer Center http://msdn.microsoft.com/office/tool/vsto/default.aspx VSTO Help documentation on MSDN http://msdn2.microsoft.com/en-gb/library/d2tx7z6d(vs.90).aspx VSTO Forum http://forums.microsoft.com/msdn/showforum.aspx?forumid=16 VSTO Team Blog http://blogs.msdn.com/vsto2

VSTO Design-Time Stack SharePoint Excel, Word, Info Path IDE Hosting Info Path Separate IDE Excel, InfoPath, Outlook, PowerPoint, Visio, Word, Project Excel, Outlook, PowerPoint, Word Outlook Workflow Document Solutions Add-ins Ribbons Form Regions Project Templates Item Wizards Visual Studio

VSTO/A Runtime Stack Office Client Host Managed/ Unmanaged Host Doc-Level Solution App-Level Add-in Doc-Level Solution App-Level Add-in Doc Task Pane Host Item Controls VSTO Runtime Win Forms Controls Custom Ribbon Custom Task Pane Custom Form Region VSTA Integration Common VSTO/A Runtime AppDomain Management Security Enforcement Deployment and Updating.NET CLR Managed Add-in Framework (MAF) ClickOnce

2007 Microsoft Ltd. 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.