Presentation is loading. Please wait.

Presentation is loading. Please wait.

Overview of Visual Studio 2005 Tools for the Microsoft Office System

Similar presentations


Presentation on theme: "Overview of Visual Studio 2005 Tools for the Microsoft Office System"— Presentation transcript:

1 Overview of Visual Studio 2005 Tools for the Microsoft Office System
11/23/2018 7:08 AM Overview of Visual Studio 2005 Tools for the Microsoft Office System Mike Hernandez Program Manager Visual Studio Tools for Office Team Microsoft Corporation © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

2 Agenda What is a Smart Client?
11/23/2018 7:08 AM Agenda What is a Smart Client? Introducing Visual Studio® 2005 Tools for the Microsoft® Office System (VSTO) Creating a VSTO project Adding an Actions Pane to a VSTO project Data Binding in VSTO Integrating Office XML Using VSTO InfoPath 2003 Toolkit for Visual Studio 2005 Outlook Add-ins Deployment and Security End-to-End Solution Demo Summary © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

3 Web Services & Offline/Online support Device Adaptability Tough to
11/23/2018 7:08 AM Web Services & Offline/Online support Device Adaptability Tough to Deploy Heavy Footprint DLL Hell Network Dependency Poor User Experience Rich UI Complex To Develop Broad Reach Rich User Experience Developer Productivity Easy Change Management Ease of Deployment Responsive © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

4 Characteristics of Smart Clients
Leverages Local Resources Takes full advantage of the local software (e.g. Office) and hardware (e.g. disk, memory, CPU, GPU, etc). Connected Provides connectivity to the enterprise, enabling timely access to live data and participation in business and collaborative processes Offline Capable Provides useful functionality when offline or in low quality connectivity situations Continued…

5 Characteristics of Smart Clients
Intelligent Deployment And Update Provides easy application management Security Provides high level of security with managed code approach Device Flexibility Applications can be tuned or tailored to a specific client device, making appropriate use of the screen real estate, user interface facilities and local hardware (e.g. pen, speech, etc) Not all of these characteristics need to be present, but the more complete and advanced, the higher the “Smart Client IQ”

6 Microsoft’s strategic tool for developing Office solutions in
11/23/2018 7:08 AM Microsoft’s strategic tool for developing Office solutions in Microsoft Excel 2003* Microsoft Word 2003* Microsoft InfoPath 2003 Microsoft Outlook 2003 (Add-in Support) Targeted at the professional developer It provides all the productivity of Visual Studio and all the power of the .NET Framework Develop solutions in VB .NET and Visual C# Document-centric solutions for Excel, Word and InfoPath Provides all the productivity of Visual Studio, and all the power of the .NET Framework Leverages the skills of .NET developers Based on .NET Code Access Security Online ClickOnce deployment model * Microsoft Office System Professional Edition or Excel 2003 or Word 2003 standalone versions © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

7 Major Focus on Developer Productivity
Integrated design-time experience Full access to the .NET Framework, Web services, ADO .NET, integrated debugging Support for managed controls – from both Microsoft and third-party vendors Support for VSTO “Host” controls Support for managed Document Actions Pane & Smart Tags Schema-based programming model CLR-based security model New data caching capabilities

8 Controls, Controls, Controls
VSTO enables developers to use WinForm managed controls within their VSTO solutions All controls on the toolbox are available for use They can be added directly to the document, to a WinForm, or the VSTO actions pane VSTO provides new “host” controls, which are .NET extensions to native Excel and Word objects Richer event models Data binding capabilities Developers can add any control explicitly at design time or dynamically at run time

9 Creating a VSTO Project
11/23/2018 7:08 AM Creating a VSTO Project © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

10 Managed Document Actions Pane
VSTO enables developers to utilize the Office Task Pane via a managed Document Actions Pane It’s simply a user control that will appear within the Office Task Pane Developers create the UI for the Document Actions Pane in the Windows Forms Designer They can then add the Actions Pane to the document with a single line of code! Dim MyAP As New ActionsPaneControl1 Globals.ThisWorkbook.ActionsPane.Controls.Add(MyAP)

11 Adding an Actions Pane to a VSTO Project
11/23/2018 7:08 AM Adding an Actions Pane to a VSTO Project © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

12 Data Binding in VSTO Developers can bind data from a given data source to managed controls and host controls The Data Sources Window enables developers to create a connection to database, Web service, or business object Developers do not have to write the code that binds the data to the control – it’s all generated automatically Developers can bind to a single item (simple data binding) or to a complete table or stored procedure (complex data binding)

13 Data Binding Controls in a VSTO Project
11/23/2018 7:08 AM Data Binding Controls in a VSTO Project © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

14 Integrating Office XML With Enterprise Data Using VSTO
VSTO provides a schema-based programming model for documents that have a custom XML schema Not always necessary to explicitly manipulate XML No need to navigate the Office OM node hierarchy VSTO is a first-class consumer of Web services Complete access to .NET Framework support for consuming Web services VSTO solutions can manipulate XML via System.Xml

15 Programming Against An XML Node
© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

16 InfoPath 2003 Toolkit for Visual Studio 2005
11/23/2018 7:08 AM InfoPath 2003 Toolkit for Visual Studio 2005 Provides a more flexible and accurate means of gathering information Provides and easy and more effective way to connect people, info and processes Provides developers with an easier way to develop and deploy information-gathering solutions XML XML HTTP SOAP WSDL UDDI BizTalk SQL ERP SAP © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

17 InfoPath Business Logic
11/23/2018 7:08 AM InfoPath Business Logic C# VB.NET Most Forms Do Not Need Code Rules Formulas Data Validation Data Connections Conditional Formatting XML Schema © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

18 Scenarios for Code Complex data validation
Offline submit and data caching Dynamic help in the task pane Custom Digital Signature handling Encryption/decryption

19 Writing Managed Code Behind InfoPath
11/23/2018 7:08 AM Writing Managed Code Behind InfoPath © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

20 Outlook Add-ins The VSTO runtime supports Outlook add-ins
11/23/2018 7:08 AM Outlook Add-ins The VSTO runtime supports Outlook add-ins More reliable add-in/host interaction Improved security and deployment model Design-time support in Visual Studio Outlook add-ins Project template Visual Studio Setup project for Outlook add-ins Improved debugging experience Because of the shim, we get the shutdown fix, but more importantly, we solve the problem of add-ins tripping on each other. We control the add-in/host relationship so much better in the new architecture. Improved debugging experience: Debugging is now a snap because we control the interaction more tightly © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

21 Scenarios for Code Line of Business Applications
11/23/2018 7:08 AM Scenarios for Code Line of Business Applications Integration of Outlook Data into back end systems Calendar Integration Solutions Time tracking Collaboration Solutions RSS Aggregators, Integrated Sharepoint solutions Outlook Extension Solutions Search tools, personal organizational tools (thread compressor, attachment management) Personal Productivity Solutions Conf room finder, travel booking tools, customer survey tools © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

22 Writing Managed Code Behind Outlook
11/23/2018 7:08 AM Writing Managed Code Behind Outlook © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

23 Deployment & Security

24 VSTO Deployment Basics
11/23/2018 7:08 AM VSTO Deployment Basics Document and code (assembly) are separate VSTO has a manifest-based deployment model Application Manifest Embedded in the document and describes the solution (startup assembly, dependencies, deployment manifest) Deployment Manifest Points to the Application Manifest and handles Application Manifest version resolution Note: InfoPath deployment is slightly different Assemblies and manifest reside in an XSN XML files point to XSN Fix slide up. Need to move Embedded part into VST 2.0 Continued… © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

25 VSTO Deployment Basics
11/23/2018 7:08 AM VSTO Deployment Basics Data and solution can intelligently update Three basic deployment models Local/Local – both document and assembly reside on local machine Local/Network – document resides on local machine, assembly resides on network Network/Network – both document and assembly reside on the network This is especially useful for Template projects Fix slide up. Need to move Embedded part into VST 2.0 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

26 VSTO Client Requirements
11/23/2018 7:08 AM VSTO Client Requirements Office 2003 Professional Edition SP1 Or Excel/Word standalone editions .NET Framework 2.0 VSTO 2005 Runtime Office Primary Interop Assemblies (PIAs) Appropriate security policies © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

27 Security Model VSTO uses .NET Code Access Security
11/23/2018 7:08 AM Security Model VSTO uses .NET Code Access Security There are four policy levels: Enterprise, Machine, User, Application Document location and code must be fully trusted by all four policy levels A given permission is granted only if all policy levels agree to grant it Trust assigned by signing the assemblies Authenticode Strong name Can also trust via location-based evidence Explicitly trust the assembly via policy. Won’t work by just copying the assembly. Continued… © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

28 Security Model Note: InfoPath security is slightly different
11/23/2018 7:08 AM Security Model Note: InfoPath security is slightly different InfoPath assemblies support partial trust for Domain XSNs Doesn’t need to use .NET Code Access Security because assemblies can be fully trusted when they are signed the XSN is installed Explicitly trust the assembly via policy. Won’t work by just copying the assembly. © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

29 End-to-End VSTO Solution
11/23/2018 7:08 AM End-to-End VSTO Solution © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

30 11/23/2018 7:08 AM Session Summary VSTO is a strategic Microsoft tool for developing document-centric Office solutions It enables developers to develop document-centric solutions with managed code in Excel, InfoPath and Word It enables developers to develop managed add-ins in Outlook VSTO 2005’s new features provide advantages and benefits for both developers and information workers © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

31 Visual Studio Tools for Office: Using C# with Excel, Word, Outlook, and InfoPath
By Eric Carter, Eric Lippert Published by Addison Wesley Professional ISBN: Published: Sep 8, 2005 Copyright 2006

32 Next Steps Participate in our newsgroups and web forum
microsoft.public.vsnet.vstools.office microsoft.public.officedev microsoft.public.office.developer Participate in VSTO-related blogs Team blog: VSTO MVP Chris Kunicki’s blog: Attend a free chat or webcast

33 For More Information Visit the VSTO sections of these MSDN® Developer Centers Office Developer Center Smart Client Developer Center VSTO Help documentation on MSDN

34 Questions?

35 © 2005 Microsoft Corporation. All rights reserved.
11/23/2018 7:08 AM © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.


Download ppt "Overview of Visual Studio 2005 Tools for the Microsoft Office System"

Similar presentations


Ads by Google