#DEFINE HKEY_LOCAL_MACHINE -2147483646 oReg = NEWOBJECT("Registry", "Registry") lcRegKey = "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\Acrobat PDFWriter" ? oReg.IsKey(lcRegKey, HKEY_LOCAL_MACHINE)