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:
00665024
Views:
25
This message has been marked as the solution to the initial question of the thread.
Here ya go;
** 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)
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform