| How to change ie settings through Code
Below is the window application to change the IE settings through code
private void UpdateIEData()
{
RegistryKey ChangeSettings = Registry.CurrentUser.OpenSubKey(@"Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\3", true);
// "Access data sources across domains - Enable"
ChangeSettings.SetValue("1406", "0", RegistryValueKind.DWord);
// "Download unsigned ActiveX controls as Prompt"
ChangeSettings.SetValue("1004", "1", RegistryValueKind.DWord);
// "Initialize and script ActiveX controls not marked as safe for scripting as Enable"
ChangeSettings.SetValue("1201", "0", RegistryValueKind.DWord);
ChangeSettings.Close();
} | | |