Exemple

L'exemple suivant montre comment connecter une session d'émulateur ZIEWin à l'hôte.

Dim WinObj as Object Dim autECLConnList as Object Set autECLConnList = CreateObject("ZIEWin.autECLConnList") Set WinObj = CreateObject("ZIEWin.autECLWinMetrics") ' Initialize the session autECLConnList.Refresh WinObj.SetConnectionByHandle(autECLConnList(1).Handle) WinObj.StopCommunication()