June 7, 2022
Release of version 1.1.175
In the past the AntView control would not work when you run under an old compatibility mode. For example if you run your Visual Basic IDE in Windows XP compatibility mode then the control would not work as Windows XP is not a supported environment for WebView2. Setting the compatibility mode now no longer blocks the control from working.
May 27, 2022
Release of version 1.1.174
Bug Fix/Changed behavior
- Setting UserAgent property is now also cached, so that you can set it before the WebView2 control has been created.
- NavigateWithWebResourceRequest now supports setting headers.
The AntViewDocument interface now has synchronous wrapper functions for each asynchronous function available. This makes it easier to use as well as opens this functionality to environments such as PowerBuilder and OpenText Gupta Team Developer.
- SynchronousTimeOut property
- The DataFlex demo has a new postData view.
- Added a demo for PowerBuilder users.
May 11, 2022
Release of version 1.1.164 beta
Changes, the following 3 items are described in “Important Changes in AntView 1.1“.
Please read that article when you are upgrading!
- Changed the default value of the CreateWebViewOnCreate property from “True” to “False”.
- Changed OnNavigationCompleted and OnFrameNavigationCompleted event as both where missing the NavigationId parameter.
- Changed all IUnknown method parameters from IUnknown to the exact interface so that VB6 can use that.
Added an extra set of methods & events for VB6 as it does not have Int64 support.
Other environments such as Visual FoxPro and PowerBuilder also benefit from this.
For the events you have to set the EventsUseHexadecimal property to switch to use VB6 compatible events.
Also added for VB6 an alternative method for the CurrentBrowser property in the AntViewDocument interface via new method BrowserDispatch, which then can be connected via the new property IDispatchPointer.
- OnDownloadStarting (download management)
- OnNewWindowRequested (new window event handling)
- OnPermissionRequested (permission request handling)
- OnClientCertificateRequested (client certificate support)
- OnProcessFailed (failure handling)
- OnPrintToPdfCompleted (Pdf printing completed)
GlobalAntView: a global object to use for applying global default settings for all your AntView controls to use:
We now have created a new excel file per demo and added dynamic resizing on startup so that the demo looks good at 100% DPI as well as at 150% DPI.
Added a Visual Basic 6 demo.
March 9, 2022
Release of version 1.0.111-2
The Excel file demo was corrupted.
As a result we now have re-released 1.0.111 with the Excel demo from 1.0.89 as a quick fix.
The AntView control itself hasn’t changed.
March 8, 2022
Release of version 1.0.111
- Fix for fullscreen switch, when you switch back it would show a title bar in the control, this was not the intention.
- The DataFlex demo shows how-to use PrintToPdf in EdgeWebBrowserDemo.vw
- The DataFlex demo now has prettier buttons.
- The Excel demo was designed for high DPI (at 150% DPI) and that made it look really weird on 100% DPI. Screens have been adjusted to 100% DPI.
- The Excel demo has a new form that shows how-to dynamically create the browser control.
- There’s a very early example on how-to use the control in Visual Fox Pro.
- We’re now bundling the WebView2loader.dll version 1108.44, we strongly recommend to use this newer dll.
- When the WebView2loader dll is loaded, it will now check on loading if the bitness matches. If the control tries to load a 64 bit DLL in a 32 bit process it will now show a clear error message. Same for trying to load a 32 bit DLL in a 64 bit process.
- When you enable logging it will now log more details and on errors it will log the windows error.
- Several properties were ignored if set/get before the WebView2 control was loaded. This is now addressed for the following properties: DefaultContextMenusEnabled, BrowserAcceleratorKeysEnabled, BuiltInErrorPageEnabled, DefaultScriptDialogsEnabled, DevToolsEnabled, ScriptEnabled, StatusBarEnabled, WebMessageEnabled, ZoomControlEnabled.
- A demo license is now only installed when using the installer. This helps to make it more clear if the control is properly licensed during deploy.
November 30, 2021
Release of version 1.0.89
- Fix changed behavior for OnCreateWebviewCompleted as it was now send one time too often before the WebView was created due to a missed begin/end clause after adding the logging logic.
November 29, 2021
Release of version 1.0.88
- Fix a double free on OnWebMessageReceived under certain circumstances when the user sends a JSON message.
- Fix for Visual Basic. Moved all “WebView not instantiated” errors to LastErrorMessage instead of throwing an error and return false for the properties or empty string. This fixes an issue with not being able to save changes in VB6.
Other new functionality:
- Added an icon for Antview that is used in the ToolBox of VB6 and other development tools.
- On the developer machine where AntView was installed, the control will now first load the WebView2Loader.dll from the default installation location of AntView. This way it will always match the supplied set by us and you don’t need to worry about copying in WebView2Loader.dll into your development environment. You do still need to take care of the DLL dependency during deployment. This also means that during development it will automatically load the dll with the correct bitness.
- A logging feature has been added for troubleshooting purposes. This is only active after activation via a registry setting. See the documentation (Deployment -> Troubleshooting) for details.
During install, the installer will look for Excel AntViewAx.exd cache files of the interface and try to delete those. This should make it easier for Excel users to use new functionality added to the control when you update.
- Typo in the DataFlex WebMessage Demo, Post JSON button is using PostWebMessageAsString instead of PostWebMessageAsJson.
- WebMessage demo: Serialize the JSON in the html before displaying it.
- The Excel demo now also has a webmessage example.
- Added MapLocalFolderToHostName example to the WebBrowserDemo.
November 10, 2021
Release of version 1.0.74
Fixed a hang when using Tab or Shift+Tab to navigate out of the Antview control.
No longer installs the examples under the user account, but instead under all users as it caused issues on some windows server versions when not installing with Administrator privileges. For these users the examples got installed in a non accessible area. Fixed by installing the demo under the “C:\Users\Public\Public Documents” folder.
- Generate Source package in DataFlex
Small improvements to the DataFlex demo.
Added a new view that displays how webmessage works, used the same view as an example for how-to set custom focus behavior when you navigate out of the control with Tab or Shift-Tab key.
September 6, 2021
Release of version 1.0.68
- Added a new demo for Microsoft Excel, where the demo’s run via Visual Basic for Applications.
- AntViewDocument interface did not check if EventSink was wired before calling an event. This has been fixed (this was only an issue for Excel)
- Added DefaultUserDataFolderLocation property, the default location is now set to be under the user temp folder. For more details see the online documentation for DefaultUserDataFolderLocation
- The Events OnExecuteScript and OnCreateWebviewCompleted used data type HRESULT and as that’s an unsigned long, VBA would not work. Changed it to variable names HResult and passing as long instead. (this change has no effect for DataFlex as it already considered HRESULT a long instead of a ulong)
- Updated the installer script, uninstall now unregisters the activex controls.
- Improvements to the help documentation.
- Small improvements to the DataFlex demo. For example, displaying time left on the demo license, fix url by inserting protocol if the user types a website in the browser demo. Reset output to zero in the exchangeResult demo.
August 24, 2021
First official release on a brand new website!