#DEFINE HKEY_CLASSES_ROOT -2147483648 loRegistry = NewObject('Registry', HOME() + 'FFC\Registry.vcx') lcValue = '' lcClassID = '{CA8A9780-280D-11CF-A24D-444553540000}' loRegistry.GetRegKey('', @lcValue, ; 'CLSID\' + lcClassID + '\InProcServer32', ; HKEY_CLASSES_ROOT) IF EMPTY(lcValue) * It isn't registered, it must not be installed MESSAGEBOX("Not Registered") ELSE MESSAGEBOX("Registered!") ENDIFThis code actually checks to see if the PDF ActiveX control is installed (which happens when you install Acrobat), so it should work OK.
loShell = NewObject("_ShellExecute", HOME() + "FFC\_environ.vcx") loShell.ShellExecute("NameOfPDF.PDF", "C:\DirectoryWherePDFExists\")