Download presentation
Presentation is loading. Please wait.
1
Insights and Answers for IT Professionals
2
「 Microsoft ® Visio 2000 視覺化管理應用」 Developing Application Solutions using Visio 2000 Shawn Tng Regional Technical Manager Microsoft Asia
3
Agenda Visio 2000 Structure User Environment Basics Visio Stencil Basics Visio VBA Connections To Data Integration with BackOffice Windows 2000 Active Directory Exchange Server 2000 SQL Server 2000 Demos Learning Objectives Conclusion
4
Visio Working Environment Basics Visio SmartShapes Stencils Drawing Page Tools (and Wizards) Hyperlinking Layering Objects ShapeSheet manipulating shapes behavior and properties parametric programming
5
Visio Stencil Basics Visio Stencil is a collection of master shapes Stencils are editable, ie., master shapes in a stencil can be added, modified or removed Master shapes in a stencil can be linked to a database Master vs. Shape Instance To create new stencil File>Stencils>New Stencil
6
Visio 2000 VBA (Visual Basic for Applications) Current version: 6.0 Each Visio drawing and stencil document includes its own VBA Project Includes MSForms, ActiveX controls, Automation … capabilities like all other Office Applications products Visio VBA can call out to the services of other Automation servers => dump drawing data to Access, create reports in Excel …
7
Connections To Data Many Visio solution scenarios involve using or producing external data, such as business data from SQL database Database Wizard sets up a connection with an ODBC database allows one to specify how table rows and fields correspond to Visio shapes and cells Alternatively, one can use ADO/DAO to access databases in VBA environment
8
Integration with Windows 2000 Active Directory Visio can read and store Active Directory Service information in a Visio document AD information can be written-out via LDAP In VBA, include the Active DS object library references to access AD data, such as: Active DS Type Library Active DS IIS Extension Dll Active DS IIS Namespace Provider IADs Tools …
9
Integration with Exchange 2000 To access objects in VBA, include appropriate Exchange 2000 object libraries. Example: Microsoft CDO For Exchange 2000 Library MS CDO For Exchange Mgt Lib MS Exchange Conference Administration Type Lib Microsoft Exchange IM Client 1.0 Type Library (found in SDK file MSIMHost.exe) … Functions/Methods are referenced via standard calling procedure
10
Integration with Exchange 2000
11
Integration with SQL Server 2000 SQL data can be connected via including such appropriate object libraries like: Microsoft DAO 3.51 Object Library Microsoft ActiveX Data Objects 2.5 Library Microsoft XML, ver2.0 Microsoft SQL Distribution Control Library 7.0 OLAP Add-In Manager Microsoft Data Source Interfaces Microsoft Report Designer v6.0 …
12
Integration with SQL Server 2000
13
Conclusion Combining Visio ShapeSheet and VBA provide a powerful development platform to build solutions Referencing the various Object Libraries enable us integrate Visio with W2K, Exchange2K and other Office Applications The Microsoft Office Application development platform is extensible, robust and interoperable
14
Additional Information … http://www.microsoft.com/taiwan/products/ office/visio http://msdn.microsoft.com/visio http://www.microsoft.com/office/visio Microsoft TechNet Resources http://www.microsoft.com/technet/visio http://www.microsoft.com/taiwan/technet TechNet and TechNet Plus CD
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.