VSTO (Introduction)

3,431 views

Published on

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.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
3,431
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
49
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

VSTO (Introduction)

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

×