Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need add-on filepath info

Status
Not open for further replies.

bkdesler

Programmer
Oct 9, 2003
3
US
Hi.

Does anybody know how to programmatically read the filepath (menu: tools/options/advanced) setting for where add-ons are stored ? Thanks in advance.
 
this is from the online help: (other topics cover "DrawingPaths" etc., so i assume there should be something like "AddonPaths")

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).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top