Example
The following example shows how to use the connection handle to set the connection for a newly created autECLPrinterSettings object.
Dim PrSet as Object
Dim ConnList as Object
Set PrSet = CreateObject("ZIEWin.autECLPrinterSettings")
Set ConnList = CreateObject("ZIEWin.autECLConnList")
' Initialize the connection
ConnList.Refresh
PrSet.SetConnectionByHandle(ConnList(1).Handle)
' For example, see if PDTMode
If PrSet.PDTMode Then
'your logic here...
End If