Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sample code to delete registry keys.
Message
 
To
04/06/2002 11:28:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00664517
Message ID:
00665290
Views:
20
>Is it possible to write VFP 7 code to remove this key and all its leaves ?
>
>Is it possible to use a singe command to remove a key with all leaves or
>must I remove all subkeys reparately ?

The behaviour of API function RegDeleteKey() differs in Win95/98/Me and WinNT/2000/XP. In the first case this function deletes all subkeys and values in a single call. Under WinNT/2000/XP you have to delete all subkeys separately before deleting of key.
Previous
Reply
Map
View

Click here to load this message in the networking platform