xInfo.activeXControls Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves a list of the ActiveX controls that are in Finance and Operations.
public:
static cli::array <System::Object ^> ^ activeXControls();
public static object[] activeXControls ();
static member activeXControls : unit -> obj[]
Public Shared Function activeXControls () As Object()
Returns
A nested container that holds information about each of the ActiveX controls.
Remarks
The returned container contains four containers. The first inner container contains the names of all the controls. The second inner container contains the ID for each control, which is a GUID. The third inner container contains the security setting for each control. The fourth inner container contains a description of each control.
The following example prints a description of each of the ActiveX controls in Finance and Operations.
static void activeXcontents(Args _args)
{
int i;
str strClsName, strTypeLibHelp, strClsId, strSafeForBits;
container c;
container clsName, clsId, safeForBits, typeLibHelp;
c = xinfo::activeXControls();
clsName = conpeek(c, 1);
clsId = conpeek(c, 2);
safeForBits = conpeek(c, 3);
typeLibHelp = conpeek(c, 4);
for (i=1; i<conlen(clsName); i++)
{
strClsName = conpeek(clsName, i);
strClsId = conpeek(clsId, i);
strSafeForBits = conpeek(safeForBits, i);
strTypeLibHelp = conpeek(typeLibHelp, i);
print strClsName, " ", strClsId, " ", strSafeForBits,
" ", strTypeLibHelp;
}
pause;
}