Example

The following example shows how to use the connection handle to set the connection for a newly created autECLXfer object.

DIM  XferObj as Object
DIM  autECLConnList as Object
 
Set XferObj = CreateObject("ZIEWin.autECLXfer")
Set autECLConnList = CreateObject("ZIEWin.autECLConnList")
 
' Initialize the connection with the first connection in the list
autECLConnList.Refresh
XferObj.SetConnectionByHandle(autECLConnList(1).Handle)