General information
Category:
Coding, syntax & commands
Title:
How to transform a string into a dword type in the registry?
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only