Re: Trapping for error and displaying receive buff (General questions)
Eric,
It's hard to say what's wrong without duplicate it. You can try to find what in received in wodTelenetDLX using Receive Method and send that as next Prompt.
Here is example:
[code]
Telnet1.Execute( & vbCrLf, p5104 )
Telnet1.Send( s51 & vbCrLf)
Debug.Print Telnet1.Receive
Debug.Print Telnet1.Receive
Debug.Print Telnet1.Receive
[/code]
or maybe you can try without Execute Method. Using WaitFor and Send Method. Just like you use Prompt Property and Send Method.
Here is example:
[code]
Telnet1.WaitFor( Select: )
Telnet1.Send( T & vbLf)
Telnet1.WaitFor( (c)Eagle Con&Dev )
Telnet1.Send( e51 & vbLf)
Telnet1.WaitFor( Login User Name? )
Telnet1.Send(vbCrLf)
Telnet1.WaitFor( Login Password? )
Telnet1.Send( s51 & vbLf)
Debug.Print Telnet1.Receive
Debug.Print Telnet1.Receive
Debug.Print Telnet1.Receive
[/code]
Drazen
Complete thread:
- Trapping for error and displaying receive buffer a - Eric, 2007-12-07, 14:32
- Re: Trapping for error and displaying receive buff - wodDamir, 2007-12-07, 15:32
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 16:12
- Re: Trapping for error and displaying receive buff - woddrazen, 2007-12-07, 16:37
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 16:46
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 17:25
- Re: Trapping for error and displaying receive buff - woddrazen, 2007-12-07, 17:30
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 17:45
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 19:22
- Re: Trapping for error and displaying receive buff - woddrazen, 2007-12-07, 19:26
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 19:32
- Re: Trapping for error and displaying receive buff - woddrazen, 2007-12-07, 19:39
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 19:52
- Re: Trapping for error and displaying receive buff - woddrazen, 2007-12-07, 20:06
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 20:29
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 21:18
- Re: Trapping for error and displaying receive buff - woddrazen, 2007-12-07, 22:03
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 22:18
- Re: Trapping for error and displaying receive buff - woddrazen, 2007-12-07, 22:37
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-10, 14:55
- Re: Trapping for error and displaying receive buff - woddrazen, 2007-12-10, 15:09
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-10, 15:21
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-10, 16:05
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-10, 15:21
- Re: Trapping for error and displaying receive buff - woddrazen, 2007-12-10, 15:09
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-10, 14:55
- Re: Trapping for error and displaying receive buff - woddrazen, 2007-12-07, 22:37
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 22:18
- Re: Trapping for error and displaying receive buff - woddrazen, 2007-12-07, 22:03
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 21:18
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 20:29
- Re: Trapping for error and displaying receive buff - woddrazen, 2007-12-07, 20:06
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 19:52
- Re: Trapping for error and displaying receive buff - woddrazen, 2007-12-07, 19:39
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 19:32
- Re: Trapping for error and displaying receive buff - woddrazen, 2007-12-07, 19:26
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 19:22
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 17:45
- Re: Trapping for error and displaying receive buff - woddrazen, 2007-12-07, 17:30
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 17:25
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 16:46
- Re: Trapping for error and displaying receive buff - woddrazen, 2007-12-07, 16:37
- Re: Trapping for error and displaying receive buff - Eric, 2007-12-07, 16:12
- Re: Trapping for error and displaying receive buff - wodDamir, 2007-12-07, 15:32