FilterPaths property

Microsoft Visio Developer Reference

FilterPaths property

       

Gets or sets the path where Microsoft Visio looks for import and export filters.

Version added

4.0

Syntax

strRet = object.FilterPaths
object.FilterPaths = pathsStr

strRet

String. A text string containing the name of a folder.

object

Required. An expression that returns an Application object.

pathsStr

Required String. A text string containing the new folder name.

Remarks

The string passed to and received from the FilterPaths property is the same string shown on the File Paths tab in the Options dialog box (click Options on the Tools menu). This string is stored in HKEY_CURRENT_USER\Software\Microsoft\Visio\application\FiltersPath32.

Unlike similar properties such as AddonPaths and TemplatePaths, you can name only one path in the FilterPaths property and Visio will not look for filters in the subfolders of the path you specify.

If a path is not fully qualified, Visio looks for the folder in the folder that contains the Visio program files (appObj.Path).