• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 11. ActiveX Basics > The Visio Object Model

The Visio Object Model

With every copy of Visio 5.0 and Visio 2000, you will, if you choose to perform a complete install, find in the \ Visio\ DVS directory, a copy of the Visio drawing file Object Model.VSD. In addition to being a helpful visual reference to the entire object hierarchy within Visio, the Object Model additionally serves as a complete hyperlink system to obtain help on any object within Visio. Simply select the object you want to learn more about, right-click the object, and select Object Help from the context menu. The Visio Help system will then display the help reference for that particular object. From there, you can find a listing and subsequent help on any property, method, or event for that object. Using the Object Model will significantly shorten your development cycle, as well as lower your blood pressure, make your hair grow back in, and garner immediate praise from every middle-manager monitoring your development project's progress!

That concludes this brief overview of ActiveX Automation. In the next chapter, you will create your first VBA Automation application. You will learn more about properties, methods, and references as they apply to Visio VBA programming and discover the benefits of early binding versus late binding of object variables. I will discuss when, where, and how to run your application and focus on the RUNADDON() and CALLTHIS() functions within Visio. You will also take a brief look at the files shipped with Visio that are VB specific and learn how to interpret the return from the command string when an Automation application is launched in Visio.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint