SetEnvironment Method (ReleaseEnvServer Object)

Object: ReleaseEnvServer Object

Sets the environment. If you do not include the SDD_HOME argument, the default (last installed) environment is set.

Usage

ReleaseEnvServer.SetEnvironment ([ByVal strSDD_HOME As Nothing]) As Nothing

Arguments

strSDD_HOME

(Optional) A string that include the SDD_HOME path.

Return Values

Variant array contains a header row of four strings. Each subsequent row lists string values for each installed release. For example, if two releases are installed on the machine the variant array is:

COM_VERSION

SDD_HOME

SDD_PLATFORM

SDD_VERSION

9

C:\MentorGraphics\EEVX.1\SDD_HOME

win32

EEVX.1

3

C:\MentorGraphics\PADSProVX.1\SDD_HOME

win32

PADSProVX.1

Examples

' Set the default environment -- no parameters
dllApp.SetEnvironment("")

' Set the X-ENTP VX.1 environment.
dllApp.SetEnvironment("c:\\MentorGraphics\\EEVX.1\\SDD_HOME")