Installation

In order to install the AntView control on a developer machine, all you need to do is to run the installer from the Download page.

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 a system with an English locale it installs the demo under:
C:\Users\Public\Public Documents\AntView

There are currently examples provided for:

  • DataFlex
  • Microsoft Excel
  • Visual Basic 6
  • PowerBuilder
  • Microsoft Visual Fox Pro 9

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.

The standard Microsoft installer for installing the WebView2 runtime can be found at: https://developer.microsoft.com/en-us/microsoft-edge/webview2/

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

There is one additional requirement for being able to use the WebView2 control in your applications. WebView2 depends on the file WebView2Loader.dll to be in the same path as your application binary. There is a 32 bit and 64 bit variant of this file. Note that the 32 bit and 64 bit versions have the same filename.
Our installer puts the WebView2Loader.dll from the WebView2 runtime in a known location (C:\Program Files (x86)\AntView). As a result our control will be able to find the DLL on your development machine.
For deployment at a customers machine you will need to install that DLL manually, this is described in more details at the help here: Deployment

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

64 bit support

You can also use our AntView control in your 64 bit applications!

The 32 bit and 64 bit controls use the same ActiveX interface, which minimizes the amount of changes you have to make to have both a 32 bit as well as a 64 bit version of your application.

Installation steps for deployment

  • 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.