ReadConfig

Syntax

ReadConfig([in] BSTR ConfigDir)

Description

This method retrieves the directory paths of a given PS/nVision Configuration Manager setting (as defined in the Windows Registry). If the user has multiple directory paths in the same configuration setting, it retrieves them all. The available configuration settings that can be retrieved are:

  • InstanceDir

  • LayoutDir

  • TemplateDir

  • MacroDir

  • StyleDir

  • DrillDownDir

Example

Dim strDirPath as String
strDirPath = SessionCmd.ReadConfig("LayoutDir")