Large number

Status
Not open for further replies.

c2483

New member
Joined
Apr 20, 2003
Messages
4
How do I write a really large number into the registry as a reg_dword. If I try, it ends up as a reg_sz.
 
ok, my problem is that there is this reg_dword value in the registry to enable/disable windows file protection. I want my program to be able to enable/disable it.
To enable: write 0 hex into the value
To disable: write ffffff9d hex into it or 4294967197 decimal
To write a dword, I use something like
dim i as int32 = 0
dim r as registrykey
open the key
r.setvalue(name, i)
but ffffff9d is too big
using any other type seems to result in a reg_sz
 
You wont find help from this forum on disabling windows file protection.
 
Status
Not open for further replies.
Back
Top