works on xp but not vista !!!
Registry.SetValue(HKEY_LOCAL_MACHINE, "Software\\My App\\Users", "Username", ""..EncryptedUsername.."", REG_SZ);
Registry.SetValue(HKEY_LOCAL_MACHINE, "Software\\My App\\Users", "Password", ""..EncryptedPassword.."", REG_SZ);how can i make it work in all os ?Code:user = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\My App\\Users", "Username", true); pass = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\My App\\Users", "Password", true);

Reply With Quote

