c2483 Posted May 22, 2003 Posted May 22, 2003 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.
c2483 Posted May 27, 2003 Author Posted May 27, 2003 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
*Gurus* divil Posted May 27, 2003 *Gurus* Posted May 27, 2003 You won't find help from this forum on disabling windows file protection. MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Moderators Robby Posted May 27, 2003 Moderators Posted May 27, 2003 That's why this thread is closed. Visit...Bassic Software
Recommended Posts