Exemple
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) ' This code segment checks to see if A is API-enabled. ' The results are sent to a text box called Result. If PrSet.APIEnabled = False Then Result.Text = "No" Else Result.Text = "Yes" End If