Then you may use Cetin Basoz example:
?iCetinBasoz("MSXML2.DOMDOCUMENT.4.0")
Function iCetinBasoz
lparameters tcClass
#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
local lnKey
lnKey = 0
llRetVal = ( RegOpenKey(HKEY_CLASSES_ROOT, tcClass, @lnKey) = ERROR_SUCCESS )
if llRetVal
RegCloseKey(lnKey)
endif
return llRetVal
>I was looking for a function to call or code to use to check and see if it was installed before I run the code.
>
>To me messing with error functions with our applications is a last resort since I want to know if there is a function or other mechanism to use instead of turning off the error handling.
>
>Tried to search UT but could not find anything.
>
>--rab
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only