Webbrowser Control Replacement now that IE 11 has expired - vb.net

I've been using the WebBrowser control for many years in VB Studio 2012 and 2015.
Now that IE 11 has been retired (which I assume was the engine behind the WebBrowser control), I understand that the WebView2 control for Edge is the recommended replacement.
Are they any other WebBrowser components that can be used in VB.Net/2012/2015 for example Chrome, Firefox, etc.

Related

How to add a WebView2 Control (To replace the old unsupported WebBrowser Control) into VBA form in 2022?

I want to add a control to a VBA form that displays a preview of an Excel 365 online file once the user clicks on the file name in a list. I did this successfully in the past using WebBrowser Control:
Now the problem is that this WebBrowser control is based on the extremely old Microsoft Explorer 11. Accordingly as of March 2022 this control stopped previewing Excel 365 online files and instead is showing a blank page. So it is working, but not properly since it is based on a very old technology.
I did some research and found out that this control has been replaced by Microsoft WebView2 which is much more modern but I cannot find a reference for it at all in VBA and don't know how to add this control to my VBA form.
Can someone let me know how to display webpages properly on a VBA form in 2022? Thanks! :-)

Replacement of WebBrowser1 events in WebView2

I wanted to move to WebView2 Web Control from WebBrowser2 as the IE is being deprecated.
These the some events for which I was facing difficulty to find replacements:
StatusTextChange
BeforeNavigate2
DocumentComplete
WindowClosing
NavigateComplete2
I am using RC6.dll for integration of Edge in VB6 code.
If anyone finds anything please reply.

How to use 2 Webbrowser controls to use different cache/sessions

I am using 2 different webbrowser controls in 2 different forms.
I open a page (www.dropbox.com/login) and login to the application.
When trying to open the same page in another webbrowser control on a different form, the application goes to the post login page, that is the application is already logged in.
How can i avoid this and do something such that both the webbrowser controls i have to login individually?
Prior to IE8 you could call InternetSetOption to end the session for that instance.
I don't think this is possible in IE8 and newer. Instances of the webbrowser control and Internet Explorer all share the same sessions and cookies.

C# webbrowser control: page opens new window but it won't work

I use a webbrowser control (in C# - latest version of visual studio and .NET) to allow me to read and write data to a specific web page. Everything is OK until I reach the point that the page attempts to open a pdf document in a new window (the page contains javascript code).
The new window opens OK on my IE. But nothing appears when the webbrowser control opens the new window...
I've tried setting firefox as my default browser to see if it makes any difference but no good came out of it. The webbrowser control still opened IE.
I've tried catching the event of the new window and refer the url to another webbrowser control... no success again!
How can I get the pdf document? And why would the new window open but not display the pdf?

Visual Basic Webbrowser to Textbox

Is there anyway I can insert a Web Browser in visual basic, and then define an area on a website where if something is typed in, that string will be transferred to a TextBox.
Your could use watir to do do some automation of the IE browser control, which you can add to your application.