Upload
tyoaditya
View
3.498
Download
2
Embed Size (px)
DESCRIPTION
This is an introduction of Visual Studio for Office (VSTO). Use for creating Office Business Application.I present this on MACO session at PT. Mitrais.
Citation preview
Creating Office Business Application using Visual Studio Tools for Office (VSTO)Introduction
Aditya Eka P (Tyo’)
Stream
Microsoft Stream Competencies
Objective
• When and why a company/user need OBA?• History • What is OBA ,VBA ,and VSTO?• Difference Between VBA• Background Problem• VSTO for Ms.Word• VSTO for Ms.Excel• VSTO for Ms.Outlook• Demo VSTO with Excel
OBA
• Office Business Application (OBA)Is application that leverages the power of the Office
Business Platform, that is the clients, servers, services, and tools that compromise the Office Application
When & why we need OBA?
• The company already has the application and database that could be use for creating OBA
• Etc.. Any reason?
“Getting work done through a document-centric paradigm”
Tools
Tools for creating OBA• Visual Basic Application (VBA) Using macro.
• Visual Studio Tools for Office (VSTO “visto”)• COM• Office Web Component
History
• VBA (Visual Basic for Applications)• VSTO for Ms.Office 2003 (.NET 2.0)• VSTO for Ms.Office 2007 (.NET 3.5)
VSTO Compare to VBA
• .NET Framework (collection, I/O, Globalization, web services)
• Visual Studio IDE• Language Features (.NET compatible languages, OOP,
better error handling)• Application level add-in development (Ribbon, Custom Task
Pane)• Code separation by using .NET Assembly, easy deployment
VSTO Compare to VBA (continued)
• UI Customization (Ribbon, Task Pane, WPF)• Enabling Layer Separation (Business Logic Layer, Data
Access Layer, Util, etc )• Security (secure deployment steps by using ClickOnces)• Managed Code• Run in office 97 to later• Has Worksheet Function• More mature and perform than VSTO
VSTO Advantages
• .NET Framework• Action Pane• Office Add-in
VSTO Disadvantages
• Require .NET Framework• Require Microsoft Office 2003-2007
VSTO
• Document Level (Excel, Word)
• Application Level (Excel, Word, Outlook)– Ribbon– Task Pane
Background Problem
• There are “Line Of Business” (LOB) system that company been use over years, and this system is billion dollars investment.Example : SAP, Sharepoint, CRM, ERP, AS400, etc
With this system resources and database, the company could create an OBA as they needed
Creating Excel Office Business Application using VSTO
VSTO for Ms. Excel
• Level
Application
Workbooks
Workbook
Worksheets
Worksheet
Range
Summary
• Office Business Application allow users to increase their productivity by providing an integrated application using document as a center of experience, and integrate with business logic, data, and services.
• With OBA, user could collaborate and get work done in familiar ways.
• With VSTO, the developer could leverage the .NET Framework
• VSTO require .NET framework 2.0 – 3.5
Reference
• http://geeks.netindonesia.net/blogs/andriyadi/archive/2009/07/16/oba-excel-amp-ado-net-data-services.aspx
• http://geeks.netindonesia.net/blogs/andriyadi/archive/2009/05/20/office-development-in-visual-studio-2010.aspx
• Office Business Applications Developer Portal (http://msdn.microsoft.com/en-us/office/aa905528.aspx)
• Northwind Office Business Application (http://code.msdn.microsoft.com/OBANorthwind)
• Compare to VBA (http://netindonesia.net/blogs/andriyadi/archive/2008/08/20/vba-vs-
vsto.aspx)• Googling
Suggest, questions, and critics
Should you have any question or suggest please reach me on my mail address below.
Email [email protected]
I’ll give my best to answer the question
TERIMA KASIH