Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sample code to delete registry keys.
Message
De
06/06/2002 13:23:26
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00664517
Message ID:
00665586
Vues:
28
alex, thank you for information. Is it OK to use the following code:

DECLARE INTEGER SHDeleteKey IN Shlwapi ;
INTEGER iBaseKey,;
STRING sSubKey

SHDeleteKey(HKEY_LOCAL_MACHINE,"Software\CLASSES\Installer\Products\D4630248E9E66D11E8F400008E6D868E" )

Dos dis disable the stuid Windows Inbstaller prompt if my application
files are deleted ?

>Under Win98/2000 and later (or Win95/NT4 with Internet Explorer 4.0) you can also use API function SHDeleteKey() in Shlwapi.dll. It will remove the key, key's values and all subkeys in one call not depending on Windows version.
Andrus
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform