Example

The following example shows how to stop the emulator window identified by the connection handle.

Dim Mgr as Object
Dim Hand as Long
 
Set Mgr = CreateObject("ZIEWin.autECLConnMgr ")
 
' Assume we've got connections open and the Hand parm was obtained earlier
Mgr.StopConnection Hand, "saveprofile=no"
'or
Mgr.StopConnection "B", "saveprofile=no"