Presentation is loading. Please wait.

Presentation is loading. Please wait.

Visual Studio Tools for Office 2005

Similar presentations


Presentation on theme: "Visual Studio Tools for Office 2005"— Presentation transcript:

1 Visual Studio Tools for Office 2005
7/20/ :55 PM Visual Studio Tools for Office 2005 Stephen Turner Software Design Engineer Microsoft UK Event slides will be posted at © 2004 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?
Visual Studio 2005 Tools for the Microsoft Office System (a.k.a. VSTO) Demos! Creating a VSTO project Adding an Actions Pane Data binding in VSTO Deployment and securtity Call to action!

3 Web Services & Offline/Online support Device Adaptability Tough to
7/20/ :55 PM 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 © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

4 What is a Smart Client? Leverages local resources
7/20/ :55 PM What is a Smart Client? Leverages local resources Designed for user interaction Connected or offline capable Support collaboration Intelligent deployment and update Security Device flexibility Not all of these characteristics need to be present, but the more complete and advanced, the higher the “Smart Client IQ” © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

5 New Visual Studio project types
7/20/ :55 PM New Visual Studio project types Microsoft Excel 2003* Microsoft Word 2003* Microsoft InfoPath 2003 Microsoft Outlook 2003 (add-in support) Targeted at the professional developer All the productivity of Visual Studio All the power of the .NET Framework But VBA lives on! * Microsoft Office System Professional Edition or Excel 2003 / Word 2003 standalone versions © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

6 Developer Productivity
7/20/ :55 PM Developer Productivity Integrated design-time and debugging Project types in VB and C# Full access to .NET class libraries, Web services, ADO.NET, XML, etc. CLR enforced code access security Schema-based programming model “Data island” offline cache in document Managed Actions Pane & Smart Tags Managed controls on the document and Actions Pane RAD data-binding to all controls © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

7 Controls, Controls, Controls
7/20/ :55 PM Controls, Controls, Controls Managed Windows Forms controls All controls / components in the toolbox Added directly to the document, Windows Form or the VSTO actions pane VSTO “host” controls Extensions to Excel and Word objects Richer event models Data binding capabilities In Excel: NamedRange, ListObject In Word: Bookmark, XMLNode, XMLNodes Add any control explicitly at design time or dynamically at run time © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

8 Creating a VSTO Project
7/20/ :55 PM Creating a VSTO Project © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

9 Document Actions Pane Use the Office Task Pane with managed code
Simply a Windows Forms user control Create UI in Windows Forms Designer Add the Actions Pane to the document with a single line of code! Dim MyAP As New ActionsPaneControl1 Globals.ThisWorkbook.ActionsPane.Controls.Add(MyAP)

10 Adding an Actions Pane 7/20/2018 10:55 PM
© 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

11 Data-Binding Bind data from a given data source to managed or host controls Use Data Sources window to create a connection to database, web service, or business object All data-binding code is generated automatically Bind to a single item (simple data binding) Bind to a complete table or stored procedure (complex data binding)

12 Data-Binding Controls
7/20/ :55 PM Data-Binding Controls © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

13 Microsoft Office Professional 2003
VSTO 2005 Architecture VSTO Assembly Data Island Web Services Schemas Client VSTO Runtime LoB Data .NET Framework 2.0 Microsoft Office Professional 2003 Windows Client Deployment Server

14 Deployment Deployment model based on manifests
7/20/ :55 PM Deployment Deployment model based on manifests 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 Manifests are crucial to a solution’s self updating process © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

15 Self Updating Process ExcelDoc.xls ExcelDoc.dll v1.0.1
ExcelDoc.dll.manifest ExcelDoc.application <AppManifest> <deploy url= assembly=“..\ExcelDoc.dll” version=“1.0.0”/> <AppManifest> <deploy url= assembly=“..\ExcelDoc.dll” version=“1.0.0”/> <AppManifest> <deploy url= assembly=“..\ExcelDoc.dll” version=“1.0.1”/> <AppManifest> <deploy url= assembly=“..\ExcelDoc.dll” version=“1.0.1”/> <DeployManifest> <... curVersion=”1.0.1” appManifest= “..\ExcelDoc.dll.manifest > <DeployManifest> <... curVersion=”1.0.0” appManifest= “..\ExcelDoc.dll.manifest >

16 Integrating Office XML
VSTO provides a schema-based programming model for documents that have a custom XML schema Customize UI-based on location in document Not always necessary to explicitly manipulate XML No need to navigate the Office OM node hierarchy VSTO solutions can manipulate XML via System.Xml

17 Security Model VSTO uses .NET code access security Four policy levels
7/20/ :55 PM Security Model VSTO uses .NET code access security 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 via signing the assemblies Authenticode or strong name Can also trust via location-based evidence Explicitly trust the assembly via policy. Won’t work by just copying the assembly. © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

18 7/20/ :55 PM Summary VSTO 2005 is a strategic Microsoft tool for developing document-centric Office solutions It enables developers to develop document-centric solutions with managed code in Word, Excel and InfoPath 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 © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

19 MSDN Connection Get the latest technology previews, trial software and special offers Get information tailored to your needs Pick your RSS feeds Sign up for MSDN Connection

20 Smart Client Competition
It’s a Road Trip!

21 Call to Action Visual Studio Tools for Office web site
/office/understanding/vsto Visual Studio Tools for Office 2005 Beta 2 Visit the MSDN Newsgroups Visual Tools & Languages / Visual Studio .NET / vsnet.vstools.office Visit the blogs Event slides will be posted at

22 7/20/2018 10:55 PM © 2004 Microsoft Corporation. All rights reserved.
This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

23 © 2005 Microsoft Ltd. All rights reserved.
7/20/ :55 PM © 2005 Microsoft Ltd. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

24 Code // put code here! 7/20/2018 10:55 PM
© 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.


Download ppt "Visual Studio Tools for Office 2005"

Similar presentations


Ads by Google