AntView version 2.0.459 BETA

September 24, 2024

AntView version 2.0 is built against the very latest WebView2 API, released yesterday and as such we will be able to add a lot of new features to the AntView version 2.0 control over time.

But of course we added new functionality right now as well.

New functionality:

AntView interface

Properties:

AntViewProfile interface

Properties:

AntViewBasicAuthenticationRequestedEventArgs interface

Properties:

AntViewBasicAuthenticationResponse interface

Properties:

There’s a new utility called “RegisterAssistant” that you can use to temporarily disable either the AntView 1.x and/or the AntView 2.x controls. It does this by unregistering the control. You can also use the same utility to enable the control again.
This helps as it allows you to make it much easier to test that your application does not depend on an older version of the control by mistake. There are separate 32 bit and 64 bit versions of this utility to enable/disable 32 bit or 64 bit versions of the control.

Fixes:

  • Hidden the following events: OnClick, OnDblClick, OnMouseEnter, OnMouseLeave and OnKeyPress as WebView2 does not expose any of those and AntView should not expose what isn’t there.

Installer:

As Microsoft has plans to remove WordPad from Windows, we can no longer assume that Windows is able to open the readme.rtf file immediately after install. Instead of having to depend on being able to open a rtf file, we now open a page on our website via the default browser.

Please note that we do not pass any data on opening that page.

Help:
The AntView 2.0 help moved to a new location, it can be found at: https://doc.antwise.com/antview2/
The help has a new section “What’s New” that lists the changes in each release.

Demo:
Visual Fox Pro:
The Visual FoxPro examples have been completely revised by VFP developer Tam Dobie. They new examples are much better and are comparable to the VB6 examples. There’s also extra help and instructions included with the new examples that are very worthwhile to study if you are a VFP developer.

The AntView2 version of the VFP examples also include an example on how you can handle opening links in a new tab page.

Visual Basic:
The VB6 demo has improvements on the FillForm example(s). Now a textbox is used for output, so that it is easier to directly see what the various button clicks give as a result.

The VB6 demo now also has a form that shows how-to use basic authentication and there’s also a form that show cases the different ways in which you can handle new window behavior and do things like open a link in another browser tab page.

Every development environment:
There’s a fix for the background image in the exchangeRates demo of every development platform.
The exchange rates demo stopped showing the fancy background image that was loaded from an external resource. This has been corrected and now loads the image from a resource we control.