Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sample code to delete registry keys.
Message
From
06/06/2002 13:23:26
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00664517
Message ID:
00665586
Views:
27
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
Previous
Reply
Map
View

Click here to load this message in the networking platform