1 / 17

De toekomst van het programmeren in Office

De toekomst van het programmeren in Office. Maurice de Beijer. Wie is Maurice de Beijer. Microsoft MVP DevelopMentor trainer SDN Sectiehoofd UX Onafhankelijk software ontwikkelaar Email: mauricedb@computer.org Web: www.TheProblemSolver.nl. Agenda. Geschiedenis VSTO VBA met .NET

jerry-cook
Download Presentation

De toekomst van het programmeren in Office

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. De toekomst van het programmeren in Office Maurice de Beijer

  2. Wie is Maurice de Beijer • Microsoft MVP • DevelopMentor trainer • SDN Sectiehoofd UX • Onafhankelijk software ontwikkelaar • Email: mauricedb@computer.org • Web: www.TheProblemSolver.nl

  3. Agenda • Geschiedenis • VSTO • VBA met .NET • Open XML

  4. 1837: Charles Babbage

  5. 1940 – 1950: Assembler

  6. 1950-1960: 3 GL talen

  7. 1970-1980

  8. 1990-2000

  9. 2001

  10. Microsoft roep: VSTO

  11. Maar wat zien we ook? • "VBA isn't going away anytime soon“ Richard McAniff – VP Microsoft • VBA is terug in Microsoft Office voor de Mac! • VBA werkt ook in de 64 bits versie van Office 2010!

  12. Dus geen VSTO? • Voordelen: • Beveiliging • Het .NET framework met alle functionaliteit • Visual Studio • Nadelen: • Lastig te installeren en beheren • Elke addin is voor een specifieke gebruiker • Elke addin is voor een specifieke Office versie • Visual Studio

  13. VBA met .NET • VSTO – COM bridge • COM objecten maken in .NET • Open XML SDK

  14. VSTO – COM bridge • VBA functies aanroepen vanuit .NET code • ThisApplication.Run("VBAFunction", p1, p2) • .NET functies aanroepen vanuit VBA code • CallVSTOAssemby.DotNetFunction(p1, p2) • Is een onderdeel van een VSTO addin

  15. COM objecten maken in .NET • .NET klasses als COM objecten • <ComVisible(True)> Public Class SomeClass • VBA code die de COM objecten aanmaakt en gebruikt • Set obj = CreateObject(“ClassLibrary.SomeClass”) • Makkelijk te doen • Lastig bij te werken

  16. Open XML SDK • Als we alleen documenten willen genereren • MS Office documenten zijn gewoon XML in een ZIP bestand • ExcelPackageBeperkter maar eenvoudig alternatief voor Excel

  17. Vragen? • Email: mauricedb@computer.org

More Related