Office as a development platform with Visual Studio 2008

Slides:



Advertisements
Similar presentations
Extending Word, Excel and InfoPath 2007
Advertisements

Saurabh Bhatia Program Manager Microsoft Corporation Andrew Whitechapel Senior PM Microsoft Corporation TL01.
Name SuPeng. .NET Framework & Visual Studio Roadmap.NET Framework 3.5 overview Visual Studio design goals Lap around new features.
It’s always better live. MSDN Events Developer Productivity Improvements with Visual Studio 2008 and Office Business Applications.
What are Access Web App What are “Apps for Office” Microsoft Access Access “Apps for Office” Value of “Apps for Office” Apps for Office How it all works.
Andrew Coates Developer Evangelist DEV307.
Windows Forms in Visual Studio 2005: An Overview Saurabh Pant Program Manager Microsoft Corporation.
A tour of Visual Studio 2008 and the.NET Framework v3.5 Daniel Moth Developer & Platform Group Microsoft
Developing for the Microsoft Office System Jay Schmelzer Group Program Manager – Visual Studio.
Microsoft Confidential Office as a Development Platform Tim Heuer
Using the Actions Pane, Host Controls, and Smart Tags
Office 2010 Application Compatibility -Evolved developer platform with new services and extensibility -Connected cloud and on- premises services.
Virtual techdays INDIA │ Nov 2010 Developing Office Biz Application using WPF on Windows 7 Sarang Datye │ Sr. Consultant, Microsoft Sridhar Poduri.
OFC335 Microsoft Office Word 2007 XML Programmability: True Data/View Separation and Rich Eventing for Custom XML Tristan Davis Program Manager Microsoft.
Upgrading Applications to VB.NET Leveraging Your Visual Basic 6 Investments with VB 2005 & the Interop Forms Toolkit 2.0 Jonathan Aneja Program Manager.
The 2007 Microsoft Office System: Developer Model for the New User Interface Andy Cheung ISV Developer Evangelist Microsoft Hong Kong.
customer.
Rich Platform Services Manageability User Experience.
Connect with life Vedant Kulshreshtha Technology Solutions Professional – SharePoint | Microsoft India
Cloud Roadshow. Getting Started with Office add-ins.
Eric Carter Development Manager Microsoft Corporation OFC324.
Ty Anderson, Damon Armstrong Cogent Company Session Code: OFC325.
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
Olaf Feldkamp Developer Platform Advisor Microsoft Switzerland blogs.msdn.com/swiss_dpe_team.
Extending the 2007 Microsoft Office System User Interface Mike Taulty Developer & Platform Group, Microsoft Ltd
Microsoft Visual Studio 2005 Tools for the Office System: Building Office Solutions Using Visual Studio 2005 Tools for Office Andrew Coates Developer Evangelist.
Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers.
The Office Development Platform & Visual Studio Tools for Office Mike Hernandez Product Manager Microsoft Corporation Steven Goulet Group Program Manager.
Demo Fest of Some Leading Store Apps Module 2.
DEV221 Windows Forms in Visual Studio 2005: An Overview Saurabh Pant Program Manager Microsoft Corporation.
Pranav Ainavolu VSTO Developer, Conrep Solutions |
Office 365 Development July 2014.
Joy Rathnayake Senior Architect – Virtusa Pvt. Ltd.
1/10/2018 9:33 PM Cloud Roadshow © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO.
Demand Management and Workflow
Integrating SharePoint 2010 with Office 2010
Microsoft Ignite /10/2018 3:38 AM
Office 365 Developer Overview
5/20/2018 2:53 AM © 2006 Microsoft Corporation. All rights reserved.
Office 2010 UI Customization
Office 365 Development July 2014.
Practical Office Business Application
2010 Microsoft BI Conference
Business Connectivity Services in SharePoint 2010 and Office 2010
Visual Studio Tools for Office 2005
Accessing and Surfacing LOB Data in SharePoint 2010
Возможности Excel 2010, о которых следует знать
Office Power Hour New developer APIs and features for Apps for Office
Reaching more customers with accessible Metro style apps using HTML5
11/19/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Microsoft Build /24/2018 2:25 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Windows Azure Keenan Newton 3-021
Excel Rest API Sudhi Ramamurthy Program Manager, Office Extensibility
Team Foundation Server 2010 for Everyone
Tech Ed North America /1/ :36 AM Required Slide
Microsoft SharePoint Conference 2009 Jon Flanders
Visual Studio 2010 SharePoint Development Tools Overview
Microsoft Office 4/3/2019 Deep Dive into native Universal App development with the Office 365 APIs Speaker name Title Microsoft Corporation © 2012 Microsoft.
Understand design from code with code maps
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Delivering great hardware solutions for Windows
The Social Life of Information
Microsoft Build /20/ :42 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Office 365 Development July 2014.
Microsoft Dynamics.
Windows Forms in Visual Studio 2005: An in-depth look at key features
Windows Forms in Visual Studio 2005: An Overview
Contexualized Data In Document Authoring
Presentation transcript:

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

3

Roadmap v3.0 (in VS2008) 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 2005 SE 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 2005 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 SP Workflow, new designers, functional extensions infra investments 11 Office add-ins, infra investments Outlook add-ins, VSTA in InfoPath functional extensions infra investments Doc-level

Doc-Level Version Resilience 11/28/2018 6:06 PM 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 MICROSOFT CONFIDENTIAL © 2006 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.

Set the scene inc document level addins

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

Office Ribbon New Look and Feel for Office UI 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 Group Tab Control Ribbon

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 Whenever task pane UI is specific to an individual document or template Whenever task pane UI is specific to an application feature added by the add-in, regardless of document Availability Word document / template Excel document / template (both 2003 and 2007) 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) TechEd 2002

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 VSTO 2005 + VSTO 2005 SE VSTO v3.0 Ribbon (2007 versions of Word, Excel, Outlook and PowerPoint ) Simplified hookup Sample XML Visual designer Richer programming layer Export-to-XML option Actions Pane (document-level projects only) Word 2003 (doc, dot) Excel 2003 (xls, xlt) Word 2007 (docx/m, dotx/m) Excel 2007 (xlsx/m, xltx/m) Custom Task Pane (2007 versions of Word, Excel, Outlook, InfoPath and PowerPoint) Outlook Form Region (Outlook 2007 only) Configuration wizard Import from existing Word Content Controls 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 Excel, Word, Info Path Info Path Excel, InfoPath, Outlook, PowerPoint, Visio, Word, Project Excel, Outlook, PowerPoint, Word SharePoint IDE Hosting Separate IDE Outlook Workflow Document Solutions Add-ins Ribbons Form Regions Project Templates Item Wizards Visual Studio

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