O'Reilly logo

Professional Development with Visio® 2000 by David Edson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

VB-Specific Files in Visio

If you are building your solution based upon an external Automation controller, such as Visual Basic, rather then Visio's internal VBA, you need to know about of two files designed to assist you. These files are VISCONST.BAS and VISREG.BAS.

VISCONST.BAS is a Visual Basic file that contains the Visio constant values for each of the returns from functions as well as arguments to functions. Many, if not most, of the arguments to Visio properties and methods seem, to the programmer, to be rather arbitrary numeric values. As an example, the Type property of a Window object returns the integer 1, 2, 3, or 4 to indicate the window type. VISCONST.BAS contains defined constants for these values: visDrawing, visStencil, visSheet ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required