Internet Explorer example
This is a very basic example of how one can use the old -Internet Explorer based- Browser control that is part of Windows to host a modern browser control via AntView.
It works because the old browser control supports embedded ActiveX controls.
You can use this ability to your advantage by extending an html page to have it interface with the AntView control in the way you need things to work.
In order to run the example, you have to start it by running the startBrowser.vbs script.
You might be able to do this by double clicking on it in Windows Explorer.
This will then start the legacy Internet Explorer browser by instantiating the "InternetExplorer.Application" ActiveX control.
In other environments, this could just be the legacy Internet Explorer browser control.
We're just using vb script here to show that it works, it could be any other environment that supports the legacy browser control.
If all goes well, then it will open the "EdgeBrowser.html" page - located here in the same folder- in the browser control.
Next it will ask you if you want to run scripts and ActiveX controls as it blocks this by default.
After allowing that, the AntView control is loaded and you can press on the "Go" button below it to have it load a page from the internet.
In our example it then loads the URL https://www.whatismybrowser.com to show you that we are indeed running the MS Edge browser engine and not the legacy Internet Explorer one.
AntView - The MS Edge WebView2 ActiveX control Date last changed: 07/22/2024