crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

How to change ie settings through Code
Question Posted on 26 Sep 2019Home >> DotNet >> C# >> How to change ie settings through Code

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();
}
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

Simplest definition of partial classes and its rules?

Definition of Tuple class with some examples?

Define Race Condition in cSharp?

C#.Net Reserve Words

can we inherit private class level variables in c#






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap