Visual Basic in its various incarnations and off-springs has super-powers when it comes to OLE Automation, aka late-bound COM through IDispatch.
Where do they come from?
DWScript COM Connector has just received a spring cleanup, as it had grown a bit mouldy over the last years. The COM Connector optionally gives scripts direct access to ActiveX and COM objects.
As part of the cleanup, it now support IEnumVARIANT and ComVariantArray can now be enumerated as well with “for in“.