Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sample code to delete registry keys.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00664517
Message ID:
00665573
Views:
21
Kevin,

thank you for help.
This works !
>Here ya go;
>
><PRE>
>** Constants
>#DEFINE HKEY_LOCAL_MACHINE -2147483646
>#DEFINE REG_TEST_KEY "Software\RegTest\Test1\Test2"
>
>** Register the function
>DECLARE INTEGER RegDeleteKey IN Win32API;
>  INTEGER iBaseKey,;
>  STRING sSubKey
>
>** Call the function
>=RegDeleteKey(HKEY_LOCAL_MACHINE, REG_TEST_KEY)
>
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform