|
-
Apr 9th, 2020, 03:47 PM
#1
Thread Starter
Lively Member
Is it possible to update WebBrowser control to use IE11 or Edge?
I would like to have an integrated WebBrowser as part of my code editor, as opposed to having to open the users browser each time he wants to see changes. Since the integrated WebBrowser version is reverted to IE7, it's not going to work for any modern pages with js and css.
Is there a way to force the WebBrowser to use the latest IE or Edge?
EDIT: I did find and try the IE X-UA-Compatible Meta header tag...
Code:
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
and since the web pages will all be internal and it does work enough to allow JS to execute and CSS to display properly, I can use it for now.
I would still be interested in any ways to actually allow use of a more modern browser.
Last edited by VisualBrian; Apr 9th, 2020 at 06:54 PM.
Reason: Update to solution
I may not know anything, but I know it well!
-
Apr 9th, 2020, 10:01 PM
#2
New Member
Re: Is it possible to update WebBrowser control to use IE11 or Edge?
-
Apr 9th, 2020, 11:30 PM
#3
Re: Is it possible to update WebBrowser control to use IE11 or Edge?
There's the WebView and WebView 2 controls that utilise old and new Edge.
-
Apr 10th, 2020, 06:49 AM
#4
Thread Starter
Lively Member
Re: Is it possible to update WebBrowser control to use IE11 or Edge?
My skills are not sufficient to get C++ controls into a VB Form.
I may not know anything, but I know it well!
-
Apr 10th, 2020, 07:31 AM
#5
Re: Is it possible to update WebBrowser control to use IE11 or Edge?
 Originally Posted by VisualBrian
My skills are not sufficient to get C++ controls into a VB Form.
The page I linked to for WebView has a link to a page that describes how to use it in Windows Forms apps, so your skills should be sufficient for that, even if your effort level may not be. WebView 2 is still in preview but is intended to replace WebView in time so I would imagine that its use will be the same or similar at that time.
-
Apr 10th, 2020, 09:06 AM
#6
Thread Starter
Lively Member
Re: Is it possible to update WebBrowser control to use IE11 or Edge?
so your skills should be sufficient for that, even if your effort level may not be
Thanks. Please restrain yourself from answering any of my questions in the future.
I may not know anything, but I know it well!
-
Apr 10th, 2020, 09:32 AM
#7
Re: Is it possible to update WebBrowser control to use IE11 or Edge?
I will continue to answer questions as I see fit. If you're determined to ignore my advice because you feel slighted in this case, that is your prerogative.
-
Apr 10th, 2020, 10:08 AM
#8
Thread Starter
Lively Member
Re: Is it possible to update WebBrowser control to use IE11 or Edge?
Thanks again. I will take your advise and ignore you.
I may not know anything, but I know it well!
-
Apr 10th, 2020, 10:20 AM
#9
Re: Is it possible to update WebBrowser control to use IE11 or Edge?
 Originally Posted by VisualBrian
Thanks again. I will take your advise and ignore you.
If you want to take my advice, you'll take good information wherever it can be found. If you ignore good information because of hurt feelings, you're only doing yourself a disservice. My goal here is to help people become the best developers they can, not to make friends. It seems to me that you didn't put all that much effort into using the information I provided in the first place. Now you're more concerned with the source of information than the quality. I guess we have different priorities. If I'm right then putting more effort in in the future will make you a better developer. If I'm wrong, your ignoring good information from me in future will hurt you, not me. Seems to be a case of cutting off your nose to spite your face. As I said though, it's your prerogative.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|