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

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



C# Programming
06-29-2009, 10:40 PM
one program with "advanced regedit" (regedit33)name, 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
but HOW?

Please, Somebody help me!

modified on Monday, June 29, 2009 2:25 PM