hey guys,
I want to make a small desktop app, for try to see a page with different versions of IE, for example, see http://www.google.com in my app, on IE7, IE8, IE9, IE10 or IE11
On my machine I have installed Internet Explorer 11.0.9600.16428.
The registries was updated when I change the "version" from my software (i did a dropdown for can choose IE7 to IE11 with the respective dword code), but when I change the dropdown, in the same place, I do an alert to WebBrowser.Version for see if changes something, but not.
I asked this because I don't know if is possible make a software for make a small browser with different versions of IE (with C# on Visual Studio 2012).
I would like something as this for not use external software/another resource.
RegistryKey Regkey32 = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(@"SOFTWARE\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BROWSER_EMULATION", true);
RegistryKey Regkey64 = null;
if (Environment.Is64BitOperatingSystem)
{
Regkey64 = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(@"SOFTWARE\\Wow6432Node\\Microsoft\\Internet Explorer\\MAIN\\FeatureControl\\FEATURE_BROWSER_EMULATION", true);
}
Regkey32.SetValue(Path.GetFileName(Application.ExecutablePath), versionIE, RegistryValueKind.DWord);
if (Environment.Is64BitOperatingSystem)
{
Regkey64.SetValue(Path.GetFileName(Application.ExecutablePath), versionIE, RegistryValueKind.DWord);
}
MessageBox.Show(webBrowser1.Version.ToString())