change IE language

Add-in Express™ Support Service
That's what is more important than anything else

change IE language
 
pa1 modi




Posts: 84
Joined: 2011-06-18
hi sergey,

how to change browser language in ie using c#?

or

how to Add new language in language preferences in internet options of ie??

have u any idea or link for that..
Posted 03 Oct, 2011 05:25:45 Top
pa1 modi




Posts: 84
Joined: 2011-06-18
i have done it successfully..

string KEY_NAME = @"Software\Microsoft\Internet Explorer\International";


RegistryKey root = Registry.CurrentUser.OpenSubKey(KEY_NAME, RegistryKeyPermissionCheck.ReadWriteSubTree);

var defaultValue = root.GetValue("AcceptLanguage");
MessageBox.Show("DValue:" + defaultValue);

root.DeleteValue("AcceptLanguage");
root.SetValue("AcceptLanguage",textBox1.Text);
Posted 03 Oct, 2011 08:32:36 Top
Sergey Grischenko


Add-in Express team


Posts: 7228
Joined: 2004-07-05
Hi Pavan,

Thank you for the code. Unfortunately it doesn't work if Protected mode is turned on.
Posted 04 Oct, 2011 05:16:25 Top
pa1 modi




Posts: 84
Joined: 2011-06-18
Hi Sergey,

I check it's also work with the protected mode..
Posted 04 Oct, 2011 05:51:28 Top
Sergey Grischenko


Add-in Express team


Posts: 7228
Joined: 2004-07-05
The code doesn't work on my PC. Did you restart the browser after you changed the Protected mode state?
Posted 04 Oct, 2011 06:57:45 Top
pa1 modi




Posts: 84
Joined: 2011-06-18
when i execute this code

Internet option -> Security tab -> Enable protected mode is already checked.
Posted 04 Oct, 2011 07:07:31 Top
Sergey Grischenko


Add-in Express team


Posts: 7228
Joined: 2004-07-05
Pavan, do you run the code from the add-on?
Posted 04 Oct, 2011 11:19:32 Top
pa1 modi




Posts: 84
Joined: 2011-06-18
Yes Sergey,

i run it with add-on(IEToolbar)..
Posted 05 Oct, 2011 00:00:35 Top
pa1 modi




Posts: 84
Joined: 2011-06-18
hey sergy,

have you any idea about how to handle proxy script?
Posted 05 Oct, 2011 04:24:19 Top
Sergey Grischenko


Add-in Express team


Posts: 7228
Joined: 2004-07-05
Hi Pavan,

have you any idea about how to handle proxy script?

What do you mean?
Posted 05 Oct, 2011 07:14:52 Top