In order to install the AntView control, you will need to register it with Windows.

The installer does register both the 32 bit as well as the 64 bit controls on your behalf.

Demo installation

When you run the installer, it will install the examples for you in your Public Documents folder.
For example on my system it installs the demo under:
C:\Users\Public\Public Documents\AntView

There are currently examples for:

  • DataFlex
  • Microsoft Excel

WebView2 Runtime

As the control depends on the MS Edge WebView2 control, you also have to install the WebView2 runtime in order to get this to work.

WebView2 can be installed via a few different means:
There’s the nuget package:
There’s also the more standard windows installer for installing the WebView2 runtime:

We recommend the Evergreen Bootstrapper.

You can install the WebView2 runtime on the following versions of Windows.

  • Windows 10
  • Windows 8.1
  • Windows 7
  • Windows Server 2019
  • Windows Server 2016
  • Windows Server 2012
  • Windows Server 2012 R2
  • Windows Server 2008 R2

After installing the runtime. There is one additional requirement for being able to use the WebView2 control in your applications. You’ll need to locate the file WebView2Loader.dll from the nupkg file and put it in your application’s binary path. There’s a 32 bit and 64 bit variant of this file. Note that the 32 bit and 64 bit versions have the same filenames.
Our demo has the WebView2Loader.dll from WebView2 runtime 1.0.864 already in the Programs folder.

Windows 11 and the WebView2 runtime

The Evergreen WebView2 runtime comes preinstalled on Windows 11.
As such you don’t have to worry if the runtime is already installed.
For more info go to Distribute a WebView2 app and the WebView2 Runtime

Use in the DataFlex Studio

Note that for AntView versions after 1.0.89 it is no longer needed to copy a loader.dll into the Studio path.

For being able to use the control in the Studio you will also need to copy the WebView2Loader.dll into the Studio bin folder, so that you do not get an error when you use the control in the designer.

64 bit support

You can use our AntView control in your 64 bit applications!
In order to do so, copy the WebView2Loader.dll from the x64 subfolder to the folder of your binary. That’s it!

Installation steps for deploy

  • Copy the AntView.ocx control locally to your customer’s filesystem.
  • Start a command prompt (or Windows Powershell) as administrator
  • Navigate to the folder that contains the .ocx
  • Run the command: regsvr32 -i AntView.ocx

The better way is to use an installer which can take care of registering the ActiveX control for you.