Exemple

Dim PgSet as Object Dim ConnList as Object Dim Type as String Set PgSet = CreateObject("ZIEWin.autECLPageSettings") Set ConnList = CreateObject("ZIEWin.autECLConnList") ' Initialize the connection ConnList.Refresh PgSet.SetConnectionByHandle(ConnList(1).Handle) Type = PgSet.ConnType ' save the type