المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : change "registry value's" type by c# ?



C# Programming
06-29-2009, 07:30 PM
one program with "advanced regedit" (regedit33) can change value's type.

exe : http://garr.dl.sourceforge.net/sourceforge/regedt33/regedt33.exe
source and exe : http://garr.dl.sourceforge.net/sourceforge/regedt33/regedt33.rar


registrykey.getvalue() method does not supprt REG_NONE values
and I have an REG_NONE value and I can change this value type to REG_DWORD
in this program .

I'm looking for a way to read REG_NONE types or read them as REG_DWORD
or change type of REG_NONE to REG_DWORD and read value in C#.

some body says perform with API or P/invoke
bot HOW?

Please, Somebody help me!