Microsoft KB Archive/272747

= Visio2000: How to Restore the Built-in Visio User Interface =

Article ID: 272747

Article Last Modified on 1/29/2007

-

APPLIES TO


 * Microsoft Visio 2000 Enterprise Edition
 * Microsoft Visio 2000 Professional Edition
 * Microsoft Visio 2000 Standard Edition
 * Microsoft Visio 2000 Technical Edition

-



This article was previously published under Q272747



SUMMARY
This article describes how to reset or remove customization from the Visio user interface to restore the built-in Visio user interface when you run the program.



MORE INFORMATION
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. To restore the built-in menus and accelerators, use the ClearCustomMenus method of the Document (or Application) object. To restore the built-in Visio toolbars and status bars, use the ClearCustomToolbars method of the Document (or Application) object.

NOTE: Calling the ClearCustomMenus or the ClearCustomToolbars method on an object without custom menus or toolbars has no effect on the user interface.

To clear the custom menus for a Document object, use the following statement: ThisDocument.ClearCustomMenus

To clear the custom toolbars for an Application object, use the following statement: Visio.Application.ClearCustomToolbars

The next time that you open the document or run Visio, the built-in Visio user interface is restored.

Additional query words: ClearCustomMenus ClearCustomToolbars vba vbe vb toolbar clear custom

Keywords: kbdtacode kbinfo KB272747

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.