EsbSetPath
Description
EsbSetPath() sets the ARBORPATH environment variable for the current process.
Syntax
EsbSetPath (Path)
ByVal Path As String
Parameters
Path | String describing the ARBORPATH environment variable |
Return Value
- If successful, returns ESB_STS_NOERR.
- If Path is too long, returns API_NAME_TOO_LONG (1030009).
Notes
- Call EsbSetPath() before calling EsbInit().
- Path cannot exceed 120 characters, as defined in ESB_PATHLEN.
- Path applies only to the current process.
- Hyperion DLLs must be accessible from the system path. EsbSetPath() does not resolve the path for the Hyperion DLLs.
Example
Sub ESB_SetPath
Dim sts As Long
Dim Path As String
Path = "C:\Essbase"
sts = EsbSetPath(Path)
End Sub