Download presentation
Presentation is loading. Please wait.
Published byEaster Henry Modified over 9 years ago
1
DEV317 Integrating Extensible Business Graphics into Enterprise Applications using Visio 2003 Mai-lan Tomsen Bukovec Program Manager
2
Agenda Visio in the Enterprise Solution Demos Code Drilldowns Resources Appendix Managed Code Interop Control Deployment
3
Graphical Project Planning Enterprise Project Management Binding data to shapes Wizards in user interface ODBC-compliant data store Programmable, event-driven shapes Application scenarios Microsoft Project data for complex project schedule diagrams Access or SQL data for corporate space planning SAP data for finance workflow processes
4
Visio XML Data Islands Drawing Data in XML Visio and XML Native (but busy) XML file format SolutionXML for export to other processes Consumer of SOAP payloads Application scenarios Diagramming inventory availability through a supplier’s Web service Display schedules and timelines from an Enterprise Resource Planning web service Track workflow status in a single diagram from data in multiple Web services in a partner community
5
Visio XML for Diagrams Mai-lan Tomsen Bukovec Program Manager Visio demo demo
6
Graphics in Context Business Process Management Diagrams for collaboration in context Graphical representation of process, strategy, and workflow Diagram display according to end user task in multi-tier application Application scenarios Status tracking in Microsoft Office 2003 Word smart doc for RFP review Team progress on a Microsoft Office 2003 SharePoint Portal Web part Dynamic schedule diagram integrated into a C# winform
7
Dynamic Diagrams on Microsoft Office 2003 SharePoint Portal Server Mai-lan Tomsen Bukovec Program Manager Visio demo demo
8
Visio Solution ArchitectureAddAdviseIVisEventProc
9
Visio Flowchart Automation Drill-down (VB.NET) Mai-lan Tomsen Bukovec Program Manager Visio demo demo
10
Visio Component Features Visio Component In-process activation of Visio drawing window Full Visio functionality through Visio API Single active document and window Integrated look and feel with host application Diagrams in context to application usage (form, web part, smart doc, web page) Programmatic control over drawing surface Mouse and keyboard events
11
Custom Host Applications Visio Component Visual Basic C++ VB.NET C# Managed C++ ASP ASP.NET
12
Office As Host Container Visio Component Office XP Word, Excel, PowerPoint Office 2003 Word, Excel, PowerPoint, Access Separate IE Window InfoPath Project
13
Visio Control Automation Drill-down (C#) Mai-lan Tomsen Bukovec Program Manager Visio demo demo
14
Mouse and Keyboard Events New Developer Features Display a custom form on the click event Events on page or window, not shape Page.SpatialSearch(x, y, visSpatialContainedIn, 0.001, visSpatialFrontToBack) Use a very small unit, relative to the size of the shape, for tolerance Returns a display-list-ordered Selection object that contains all of the shapes that contain the point x, y within the tolerance
15
Macro Recorder New Developer Features Rapid application development Records user interaction with drawing surface and shapesheet Quick prototypes, not production code Visio programming “tutorial” Learn how the Visio API works Learn complex tasks like glue Shortcut to production code
16
Visio 2003 SDK New Developer Features ShapeStudio Development environment for smart shapes Developer tools Event Monitor and Persistent Events VS 6.0 and VS.NET wizards for Visio solutions Samples Extensive application samples (VB, VB.NET, C#) Library of reusable functions, classes and sub- routines Also available: Premier Services for Visio Partners
17
Ask The Experts Get Your Questions Answered Jon Price Product Manager, Visio Product Group Mai-lan Tomsen Bukovec Program Manager, Visio Development Platform Questions, feedback, solution ideas welcome!
18
Community Resources http://www.msdn.microsoft.com//visio (Visio 2002 SDK, Visio 2002 Managed Code Tutorial, Technical Articles, Samples, Visio 2003 SDK in Q4 2003) Newsgroups microsoft.public.visio.developer microsoft.public.visio.developer.shapesheet microsoft.public.visio.developer.diagrams microsoft.public.visio.developer.vba microsoft.public.visio.developer.vc User Groups Meet and learn with your peers http://www.microsoft.com/communities/usergroups/default.mspx
19
evaluations evaluations
20
© 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.
21
Appendix: C#, VB.NET Interop New Developer Features Primary Interop Assemblies (PIA) Visio 2003 type library Save As Web type library Visio 2003 drawing control type library Global Assembly Cache (GAC) support Installation and registration as part of product setup Requires.NET Framework 1.1 Visio 11 SDK Visual Studio.NET Wizards
22
Appendix: Deploying the Control Visio Component Silent mode install A custom Setup.exe application to drive Visio setup program. Pass in “silent install” mode parameter for corporate deployment Dim WshShell Set WshShell = CreateObject("WScript.Shell") WshShell.Exec("setup.exe /qn PIDKEY= INSTALLLEVEL=20") Standard Windows Installer behavior Custom script Launch Visio product MSI directly Dim WshShell Set WshShell = CreateObject("WScript.Shell") WshShell.Exec("msiexec.exe /qn /i PIDKEY= INSTALLLEVEL=20")
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.