Example

Dim PgSet as Object
Dim ConnList as Object
DIM Name as String

Set PgSet = CreateObject("ZIEWin.autECLPageSettings")
Set ConnList = CreateObject("ZIEWin.autECLConnList")
' Initialize the connection
ConnList.Refresh
PgSet.SetConnectionByHandle(ConnList(1).Handle)

Name = PgSet.Name 'Save the name