Well,
I got one way to do this.
Please find the attached C# code.
using Microsoft.Win32 ; //To manipulate registry settings to disable script
debugger
private void disableScriptDe bugger()
{
RegistryKey regKey =
Registry.Curren tUser.OpenSubKe y("Software\\Mi crosoft\\Intern et
Explorer\\Main" ,true);
if (regKey != null)
{
try
{
string strChecked = (string)regKey. GetValue("Disab le Script Debugger");
if (strChecked != null && strChecked.ToLo wer() != "yes")
regKey.SetValue ("Disable Script Debugger","yes" );
}
catch(Exception ex)
{
throw new ApplicationExce ption(ex.Messag e,null);
}
}
}
Thanks
Atul
"Atul" <py*****@hotmai l.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Hi,
How can I "disable script debugger" programmaticall y using C#? Its similar
action when we check the check box from IE (Tools | Internet Options...|
Advanced).
Any ideas???
Thanks
Atul