What's New in AntView 2.0.514
Uses latest API of WebView2 (version 1.0.3179.45) as was released in April 2025.
The RegisterAssistant tool now has command line options. This means that you can use this standalone tool during deployment of AntView.
Improved the help by rewriting all example code that was in the DataFlex language to use Visual Basic instead, as that's easier to understand when you're not used to the DataFlex syntax.
New AntViewDocument functionality
methods:
RequestElementOuterHTMLByIdSync
RequestElementOuterHTMLByNameSync
events:
OnRequestElementOuterHTMLByName
New AntView properties:
The AntView control can now show details about itself by navigating to the "antview://about" URL.
This is called the AntView About Page and can help with troubleshooting without having to enable logging.
For HMI/SCADA/POS systems we now have an embedded licensing option where the control can be licensed using a file instead of the programmatic way to unlock the control.
Changes and bugfixes:
The PrintToPdf method has been improved that if the supplied path has quotes around the path, that those quotes will now be automatically removed, before passing the path on to the WebView2 control as WebView2 will not understand the quoted path .
Fixed a parameter type on the OnClearBrowsingCompleted event. The errorCode parameter was using datatype long instead of HResult in 2.0 beta and that was a problem for VB6.
Logging is now written out to the file AntView2.log instead of AntView.log, so that you can have version 1.x and version 2.x running simultaneously and writing out to their respective log files.
Demo's and example code:
VFP Demo, has been improved and now comes with more examples, there's a "standard" demo, an "advanced" demo and an "extra" demo. All three demo's can be run from the main "antstart" project.
VB6 Demo now comes with an example that uses dynamic creation for the AntView control. It also shows you how to change the html at runtime via the new SetOuterHtmlByName method in the FillForm demo.
AntView - The MS Edge WebView2 ActiveX control Date last changed: 04/16/2025