SaveToFile method

SaveToFile method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

See also         Example         Applies to

Saves the user interface represented by a UIObject object in a file.

Version added

4.0

Syntax

        
          object.SaveToFilefileName
      

object

Required. An expression that returns the UIObject object to save to the file.

fileName

Required String. The name of the file in which to save the UIObject object.

Remarks

The file can be loaded into the application by using the LoadFromFile method of a UIObject object.

Note Beginning with Visio 2000, you can customize the user interface by right-clicking the toolbar, and then clicking Customize on the shortcut menu. Changes you make to the interface persist when you close the application—they are stored with the Application object and in a file named Custom.vsu, which is stored as Application Data in the current user's User Profile.