Exemple

Dim PgSet as Object Dim ConnList as Object Dim Hand as Long Set PgSet = CreateObject("ZIEWin.autECLPageSettings") Set ConnList = CreateObject("ZIEWin.autECLConnList") ' Initialize the connection ConnList.Refresh PgSet.SetConnectionByHandle(ConnList(1).Handle) Hand = PgSet.Handle ' save the handle