--%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --%%% %% --%%% This script tests for the presence of MozillaActiveXControl ActiveX %% --%%% %% --%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function MozillaActiveXControl() local bOK = true; -- We're checking for MozillaActiveXControl at this point . . . bOK = Registry.DoesKeyExist(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\CLSID\\{1339B54C-3453-11D2-93B9-000000000000}\\InprocServer32"); if (bOK) then strVersion = Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\CLSID\\{1339B54C-3453-11D2-93B9-000000000000}\\Version", "", true); --If there was no version found, bOK = false, and verison is set to "0.0.0.0" if (strVersion == nil) or (strVersion == "") then strVersion = "0.0.0.0"; end end return strVersion; end