Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is XML installed
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00852317
Message ID:
00852362
Vues:
8
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform