Exemple

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

Dim PSObj as Object Dim autECLConnList as Object Set autECLConnList = CreateObject("ZIEWin.autECLConnList") Set PSObj = CreateObject("ZIEWin.autECLPS") ' Initialize the session autECLConnList.Refresh PSObj.SetConnectionByHandle(autECLConnList(1).Handle) PSObj.StartCommunication()