GetObjectCLSID2

ACCPAC Common Controls

AccpacSession.GetObjectCLSID2

Retrieves the COM class ID (CLSID) and codebase of the specified application object.

Function GetObjectCLSID2(
  objectID As String,
  DistFileType As tagDistFileType) As String

Parameters

objectID

[in] the Roto ID of the application object

DistFileType

[in] the format of the codebase to retrieve

Return Value

Returns a string of the form <CLSID>@<Codebase>. Returns an empty string if objectID is not valid.

Remarks

Script programs, such as Javascript, which do not support "out" parameters, should use this variation of the GetObjectCLSID function.