Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create a key in the registry ?
Message
From
08/11/2002 12:18:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
How to create a key in the registry ?
Miscellaneous
Thread ID:
00720364
Message ID:
00720364
Views:
45
i use the registry classe in vfp to get informations. but this time i want to creat a key if it doesn't exist and set the value.

this is what i want to do :

oReg.SetRegKey("DisableTaskMgr",1,;
"Software\Microsoft\Windows\CurrentVersion\Policies\System",;
HKEY_CURRENT_USER)

1 - how can i creat the system key if it doesn't exist ?

2 - how to set the value 1 to "DisableTaskMgr" with a reg-dword type
Next
Reply
Map
View

Click here to load this message in the networking platform