32
Wat is er nieuw in Wat is er nieuw in Visual Studio 2005 Tools Visual Studio 2005 Tools for Office SE? for Office SE? Maurice de Beijer Maurice de Beijer ABL – The Problem Solver ABL – The Problem Solver

Wat is er nieuw in Visual Studio 2005 Tools for Office SE? Maurice de Beijer ABL – The Problem Solver

Embed Size (px)

Citation preview

Wat is er nieuw in Visual Wat is er nieuw in Visual Studio 2005 Tools for Office Studio 2005 Tools for Office

SE?SE?

Maurice de BeijerMaurice de Beijer

ABL – The Problem SolverABL – The Problem Solver

Wie ben ik?Wie ben ik?

• Maurice de Beijer.Maurice de Beijer.• The Problem Solver.The Problem Solver.• Visual Basic MVP.Visual Basic MVP.• Blog: Blog: http://msmvps.com/blogs/http://msmvps.com/blogs/

theproblemsolver/default.aspx theproblemsolver/default.aspx • Web:Web:http://www.TheProblemSolver.nlhttp://www.TheProblemSolver.nl

http://www.WindowsWorkflowFoundation.euhttp://www.WindowsWorkflowFoundation.eu http://wiki.WindowsWorkflowFoundation.euhttp://wiki.WindowsWorkflowFoundation.eu

• E-mail:E-mail: [email protected] [email protected]

AgendaAgenda

• Wat is VSTO 2005 SEWat is VSTO 2005 SE

• Office Open XMLOffice Open XML

• TaskpanesTaskpanes en Ribbons en Ribbons

• DatabindingDatabinding

• VSTO of VBAVSTO of VBA

• DeploymentDeployment

• VSTO “VSTO “OrcasOrcas””

• VragenVragen

En de naam is?En de naam is?

• Microsoft Visual Studio 2005 Tools Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office for the 2007 Microsoft Office System.System.

• Microsoft Visual Studio 2005 Tools Microsoft Visual Studio 2005 Tools for Office Second Edition.for Office Second Edition.

• VSTO 2005 SE.VSTO 2005 SE.• En de code name was: CypressEn de code name was: Cypress..

Ondersteuning voorOndersteuning voorVSTOVSTO

Office 2003Office 2003

VSTO VSTO 20052005

Office 2003Office 2003

VSTO 2005 VSTO 2005 SESE

Office 2003/2007Office 2003/2007

WordWord DocumentDocument DocumentDocument ApplicatieApplicatie

ExcelExcel DocumentDocument DocumentDocument ApplicatieApplicatie

InfoPathInfoPath DocumentDocument ApplicatieApplicatie

OutlookOutlook ApplicatieApplicatie DocumentDocument

PowerPoinPowerPointt ApplicatieApplicatie

VisioVisio ApplicatieApplicatie

AccessAccess

VSTO 2005 SE RuntimeVSTO 2005 SE Runtime

• Is compatible met VSTO 2005.Is compatible met VSTO 2005.

• Zowel voor Office 2003 als 2007.Zowel voor Office 2003 als 2007.

• Bevat bug fixes, met name het Excel Bevat bug fixes, met name het Excel list object.list object.

VSTO 2005 SERuntime

VSTO 2005 Runtime

AgendaAgenda

• Wat is VSTO 2005 SEWat is VSTO 2005 SE

• Office Open XMLOffice Open XML

• TaskpanesTaskpanes en Ribbons en Ribbons

• DatabindingDatabinding

• VSTO of VBAVSTO of VBA

• DeploymentDeployment

• VSTO “VSTO “OrcasOrcas””

• VragenVragen

Office Open XMLOffice Open XML

• Het nieuwe Het nieuwe bestands formaat.bestands formaat.

• Een verzameling Een verzameling van XML van XML bestanden.bestanden.

• Verpakt in een ZIP Verpakt in een ZIP bestand.bestand.

• ECMA standaard.ECMA standaard.

Document properties

File container

Comments

WordML/SpreadsheetML, etc.

Custom-defined XML

Images, video, sound

Embedded code/macros

Charts

Een DOCX van binnen Een DOCX van binnen bekekenbekeken

System.IO.Packaging System.IO.Packaging namespacenamespace

• Maken/lezen en bewerken zonder Maken/lezen en bewerken zonder Office.Office.– PackagePackage– PackagePartPackagePart– PackageRelationshipPackageRelationship– PackagePropertiesPackageProperties

System.IO.PackagingSystem.IO.Packaging

AgendaAgenda

• Wat is VSTO 2005 SEWat is VSTO 2005 SE

• Office Open XMLOffice Open XML

• TaskpanesTaskpanes en Ribbons en Ribbons

• DatabindingDatabinding

• VSTO of VBAVSTO of VBA

• DeploymentDeployment

• VSTO “VSTO “OrcasOrcas””

• VragenVragen

Task PanesTask Panes

• Blijven voor de Blijven voor de gebruiker gebruiker zichtbaar.zichtbaar.

• Kan reageren op Kan reageren op de gebruiker.de gebruiker.

• Is een .NET Is een .NET UserControl.UserControl.

• Alle .NET user Alle .NET user interface controls.interface controls.

Een Task Pane makenEen Task Pane maken

RibbonsRibbons

• Vervangt het menu en de taakbalk Vervangt het menu en de taakbalk uit Office 2003.uit Office 2003.

• Bevat Office controls.Bevat Office controls.

• XML voor de layout, code voor de XML voor de layout, code voor de business logic.business logic. TabTab

GrouGroupp

RibboRibbonn

ControControll

Een RibbonEen Ribbon

ResourcesResources

• http://blogs.msdn.com/eric_carter/http://blogs.msdn.com/eric_carter/default.aspxdefault.aspx

• http://blogs.msdn.com/andrewwhttp://blogs.msdn.com/andreww

• http://blogs.msdn.com/pstubbshttp://blogs.msdn.com/pstubbs

• VSTO met Windows Presentation FoundationVSTO met Windows Presentation Foundationhttp://blogs.msdn.com/mszcool/archive/200http://blogs.msdn.com/mszcool/archive/2006/11/07/teched-developers-2006-pre-6/11/07/teched-developers-2006-pre-conference-sessions-on-visual-studio-tools-conference-sessions-on-visual-studio-tools-for-office-including-wpf-interop.aspxfor-office-including-wpf-interop.aspx

AgendaAgenda

• Wat is VSTO 2005 SEWat is VSTO 2005 SE

• Office Open XMLOffice Open XML

• TaskpanesTaskpanes en Ribbons en Ribbons

• DatabindingDatabinding

• VSTO of VBAVSTO of VBA

• DeploymentDeployment

• VSTO “VSTO “OrcasOrcas””

• VragenVragen

Data BindingData Binding

• Makkelijk bij het werken met/tonen Makkelijk bij het werken met/tonen van data.van data.

• DataSources window.DataSources window.

• TypedDataTable.TypedDataTable.

• TypedTableAdapter.TypedTableAdapter.

• BindingSource.BindingSource.

Data BindingData Binding

AgendaAgenda

• Wat is VSTO 2005 SEWat is VSTO 2005 SE

• Office Open XMLOffice Open XML

• TaskpanesTaskpanes en Ribbons en Ribbons

• DatabindingDatabinding

• VSTO of VBAVSTO of VBA

• DeploymentDeployment

• VSTO “VSTO “OrcasOrcas””

• VragenVragen

VSTO versus VBAVSTO versus VBA

• VSTOVSTO– Voor ontwikkelaars.Voor ontwikkelaars.– Losse DLL.Losse DLL.– Kan veel.Kan veel.– Visual Studio is Visual Studio is

nodig.nodig.– Deployment Deployment

moeilijk.moeilijk.

• VBAVBA– Voor Voor

eindgebruikers.eindgebruikers.– In een document.In een document.– Kan redelijk wat.Kan redelijk wat.– Office is voldoende.Office is voldoende.– Deployment is Deployment is

redelijk makkelijk.redelijk makkelijk.

VSTO versus VBAVSTO versus VBA

VSTOVSTO VBAVBA

N-Tier appsN-Tier apps

Advanced Add-Advanced Add-InsIns

Simple Add-InsSimple Add-Ins

Single doc Add-inSingle doc Add-in

Macro recorderMacro recorder

AgendaAgenda

• Wat is VSTO 2005 SEWat is VSTO 2005 SE

• Office Open XMLOffice Open XML

• TaskpanesTaskpanes en Ribbons en Ribbons

• DatabindingDatabinding

• VSTO of VBAVSTO of VBA

• DeploymentDeployment

• VSTO “VSTO “OrcasOrcas””

• VragenVragen

DeploymentDeployment

• Document en Assembly plaats:Document en Assembly plaats:– Lokaal/Lokaal.Lokaal/Lokaal.– Lokaal/Netwerk.Lokaal/Netwerk.– Netwerk/Netwerk.Netwerk/Netwerk.

• Full trust is een vereiste!Full trust is een vereiste!– Strong name!Strong name!– Vertrouwde locatie!Vertrouwde locatie!

DeploymentDeployment

• Click Once.Click Once.

• Windows Installer.Windows Installer.

• Upgrades!Upgrades!

DeploymentDeployment

Deployment recourcesDeployment recources

• http://blogs.msdn.com/mshneer/archive/2006/01/http://blogs.msdn.com/mshneer/archive/2006/01/05/deployment-articles.aspx05/deployment-articles.aspx

• http://weblogs.asp.net/mnissen/articles/427504.ahttp://weblogs.asp.net/mnissen/articles/427504.aspxspx

• http://msdn.microsoft.com/library/default.asp?urlhttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_vsto2005_ta/html/OfficeVSTO=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOWindowsInstallerOverview.aspWindowsInstallerOverview.asp

• http://msdn.microsoft.com/library/default.asp?urlhttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_vsto2005_ta/html/OfficeVSTO=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOWindowsInstallerWalkthrough.aspWindowsInstallerWalkthrough.asp

AgendaAgenda

• Wat is VSTO 2005 SEWat is VSTO 2005 SE

• Office Open XMLOffice Open XML

• TaskpanesTaskpanes en Ribbons en Ribbons

• DatabindingDatabinding

• VSTO of VBAVSTO of VBA

• DeploymentDeployment

• VSTO “VSTO “OrcasOrcas””

• VragenVragen

En straks met VSTO En straks met VSTO “Orcas”?“Orcas”?

• Document level addins voor Office Document level addins voor Office 2007.2007.

• AppDomain isolation.AppDomain isolation.

• Ribbon designer.Ribbon designer.

• Word Content Control Support.Word Content Control Support.

• ServerDocument.ServerDocument.

• ClickOnce deployment.ClickOnce deployment.

AgendaAgenda

• Wat is VSTO 2005 SEWat is VSTO 2005 SE

• Office Open XMLOffice Open XML

• TaskpanesTaskpanes en Ribbons en Ribbons

• DatabindingDatabinding

• VSTO of VBAVSTO of VBA

• DeploymentDeployment

• VSTO “VSTO “OrcasOrcas””

• VragenVragen

Vragen?Vragen?

http://http://www.TheProblemSolver.nlwww.TheProblemSolver.nl

[email protected]@computer.org