The default version of the webbrowser control in a C# Windows Forms
application is 7. I have changed to 9 by the article Browser Emulation, but how is it possible to use the latest version of the installed Internet Explorer in a webbrowser control?
C# – Use latest version of Internet Explorer in the webbrowser control
cwebbrowser-controlwinforms
Related Topic
- C# – What are the correct version numbers for C#
- C# – How to make a textbox that only accepts numbers
- C# – LINQ’s Distinct() on a particular property
- C# – Proper use of the IDisposable interface
- C# – How to get the application’s path in a .NET console application
- C# – How to remedy “The breakpoint will not currently be hit. No symbols have been loaded for this document.” warning
Best Answer
I saw Veer's answer. I think it's right, but it did not I work for me. Maybe I am using .NET 4 and am using 64x OS so kindly check this.
You may put in setup or check it in start-up of your application:
You may find messagebox.show, just for testing.
Keys are as the following:
Reference: MSDN: Internet Feature Controls
I saw applications like Skype use 10001. I do not know.
NOTE
The setup application will change the registry. You may need to add a line in the Manifest File to avoid errors due to permissions of change in registry:
UPDATE 1
This is a class will get the latest version of IE on windows and make changes as should be;
using of class as followed
you may face a problem for in comparability of windows 10, may due to your website itself you may need to add this meta tag
Enjoy :)