Exemple

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

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