Re: Trapping for error and displaying receive buff - WeOnlyDo Discussion board

Re: Trapping for error and displaying receive buff (General questions)

by woddrazen, Friday, December 07, 2007, 16:37 (5984 days ago) @ Eric

Eric,


Maybe you should switch to WaitFor and Execute Method.

Here is example how to use them:
[code]
Set tel1 = New wodTelnetDLXCom

tel1.HostName = your_hostname
tel1.Blocking = True
tel1.Login = your_login
tel1.Password = your_password
tel1.StripANSI = True
tel1.Connect

tel1.WaitFor ( Select: )
tel1.DataReady = 0
Debug.Print tel1.Execute( T + vbLf, (c)Eagle Con&Dev )
tel1.DataReady = 0
Debug.Print tel1.Execute( e51 + vbLf, Login User Name? )
tel1.DataReady = 0
Debug.Print tel1.Execute( + vbLf, Login Password? )
...
[/code]
If problem persist any chance we could connect to your server and duplicate your issue? You can send your private information to techsupport@weonlydo.com

Let us know how it goes.


Regards,
Drazen


Complete thread: