About Security Settings and Running Code in Visio

Creating secure applications is one of the primary challenges facing solution developers. Users, administrators, and developers are increasingly aware of the potential of unknowingly running code that can be harmful to their computers. It's more important than ever that you help to ensure the integrity of your applications.

Starting with Visio 2007, all security settings are Office-wide and are set in the Trust Center (click the File tab, click Options, and then click Trust Center). Affected settings include the following:

  • Specifying trusted publishers
  • Specifying trusted locations
  • Loading COM add-ins
  • Loading published and path-discovered add-ons
  • Loading VBA macros

In previous versions of Visio, settings were made in the Security dialog box and the Security tab of the Options dialog box. As of Visio 2007, these dialog boxes have been eliminated. For more information about settings in the Office Trust Center, see Security Notes for Microsoft Office Solution Developers. For details about digitally signing code and trusted sources and publishers, search for "code signing" on MSDN, the Microsoft Developer Network Web site. For more information about good security design practices and technologies, search for "security" on MSDN.

Additional Visio resources

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.