Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to transform a string into a dword type in the registry?
Message
From
12/02/2003 08:07:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to transform a string into a dword type in the registry?
Miscellaneous
Thread ID:
00752231
Message ID:
00752231
Views:
61
here is the code i use to set the DisableTaskMgr value in the registry.
this code with chr(1) as value doesn't creat a dword type.
But when i put the value directly in the registry it works well.
So why this code doen't give a dword type but a string type ?

oReg.SetRegKey("DisableTaskMgr",chr(1),;
"Software\Microsoft\Windows\CurrentVersion\Policies\System",;
HKEY_CURRENT_USER,.t.)
Next
Reply
Map
View

Click here to load this message in the networking platform