MoleDirect
Technical User
Hello all... I am working on a project that will have to access the local computers registry to get values, and report on them. And if need be, change them... Here is the code / theory I am working on..
Code:
If
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoLowDiskSpaceChecks"=dword:00000001
returns true then
doesitwork.text = " It works "
Else
doesitwork.text = "It doesn't work, you are a lousy coder! "
end if
' -----------------------------------------
SUB (button handler script) onclick
'this button would make the value 1
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoLowDiskSpaceChecks"=dword:00000001
end sub
'------------------------------------------
SUB (button handler script) onclick
'this button would make the value 0
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoLowDiskSpaceChecks"=dword:00000000
end sub
Now I know the above code does not work, but hopefully, someone will have a working snippet that does work... When it comes to the registry, i don't even know where to start..
Thanks in advance!!