December 1999
Intermediate to advanced
480 pages
11h 5m
English
Now that you are concerned about binding to the application object, let's take a moment to discuss how different bindings work and how you can create, save, and load external interface files.
To create a UI object outside of Visio, use the following:
Dim UIObj As Object
Set UIObj = CreateObject("Visio.UIObject")
This creates an EMPTY UIObject. This is a good way to build minimal UIs.
Saving a UI object to a file is accomplished by the following:
UIObj.SaveToFile("c:\visio\solutions\mymenues.vsu")
Loading a UI object from a file is done by
UIObj.LoadFromFile("c:\visio\solutions\mymenues.vsu")
Binding a UI object to the Visio application is done by
AppVisio.CustomToolbarsFile = "c:\visio\solutions\mytools.vsu"
Read now
Unlock full access