2yxle
❔ Doing a test DWORD, but sometimes the Dword value doesnt change:
i have got a new line
try
{
Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\AMD", "what", 1, RegistryValueKind.DWord);
Console.WriteLine("Registry value changed successfully.");
}
catch (Exception ex)
{
Console.WriteLine("An error occurred while changing the registry value: " + ex.Message);
}
the value doesnt change to 1 still
51 replies
❔ Doing a test DWORD, but sometimes the Dword value doesnt change:
public partial class testform : Form
{
public testform()
{
InitializeComponent();
}
private void Apply_Click(object sender, EventArgs e)
{
Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\AMD", "what", 1, RegistryValueKind.DWord); } } } this is my test code,
Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\AMD", "what", 1, RegistryValueKind.DWord); } } } this is my test code,
51 replies