Visual Basic 6

In order to use the COM objects in your Visual Basic 6 application add WMonitorX libraries to the list of the project references

Optionally, you may add also:

Imports WMonitorXLib

in order to reference the objects without specifying the namespace.

The actual creation is:

Dim monitor As IWMonitorX
Set monitor = New WMonitorXClass