Contents - Index - Top


Using AntView in your development environment

 

In principle, if your programming language supports ActiveX controls then it will support AntView.

There are some specific requirements which we list below, but we have -ready to run- code examples included in our product for the following development environments:

 

 DataFlex

 Html

 Microsoft Excel

 Microsoft Access

 PowerBuilder

 Visual Basic 6

 Visual FoxPro

 

 

If your programming language isn't listed, then you can probably just import the ActiveX control in your development environment and start using the control.

 

However if you need to implement support directly from a low level Windows API, then your ActiveX host container needs to support the following interfaces when you use CreateControl (C++ ATL) or CreateControlEx (C++ ATL) to instantiate and host the visual object:

 

The Ambient interface with support for the following properties:

 

The ActiveX host container also needs to have an InPlaceFrame interface object.

 

The AntView control provides a dual interface and the .tlb is embedded in the .dll file.

 

In case you are creating the control without a visual interface, for example with CoCreateInstance (), then the ambient and InPlaceFrame interfaces are not required.

 

Here's another very basic example of instantiating the AntView control, directly from PowerShell.

 

PS C:\WINDOWS\system32> $ocx = New-Object -ComObject AntViewAx2.Antview

PS C:\WINDOWS\system32> $ocx.VersionString

2.0.627.0

PS C:\WINDOWS\system32>

 

This creates a non visual AntView object and then queries the VersionString property from the control.

 


AntView - The MS Edge WebView2 ActiveX control Date last changed: 2026/07/13