Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is XML installed
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00852317
Message ID:
00852362
Views:
9
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
Map
View

Click here to load this message in the networking platform