IF _IsClassRegistered([Word.Application]) **** Do whatever you want to do **** the MS Word is installed ELSE MessageBox([You have to install MS Word here]) ENDIF FUNCTION _IsClassRegistered(tcClass) && If some class is registered LOCAL lnKey #define HKEY_CLASSES_ROOT -2147483648 #define ERROR_SUCCESS 0 && OK DECLARE INTEGER RegOpenKey IN Win32API ; INTEGER nHKey, STRING @cSubKey, INTEGER @nResult DECLARE INTEGER RegCloseKey IN Win32API ; INTEGER nHKey lnKey = 0 llRetVal = (RegOpenKey(HKEY_CLASSES_ROOT, tcClass, @lnKey) = ERROR_SUCCESS) IF llRetVal RegCloseKey(lnKey) ENDIF RETURN llRetVal