#DEFINE HKEY_LOCAL_MACHINE -2147483646 && BITSET(0,31)+2 * lcWinZipKey is the expected location of the registry key lcWinZipKey = "Software\Microsoft\Windows\CurrentVersion\app paths\winzip32.exe" && In the HKLM hive. LOCAL oReg, lcValue, lnErrorCode oReg = NewObject( "Registry", HOME(1) + "FFC\Registry.VCX") IF oReg.IsKey( lcWinZipKey, HKEY_LOCAL_MACHINE) lcValue = "" lnErrorCode = oReg.GetRegKey( "", @lcValue, lcWinZipKey, HKEY_LOCAL_MACHINE) RETURN IIF( lnErrorCode = 0, lcValue, NULL) ELSE RETURN NULL ENDIF-Rick