Re: connection state (General questions)
Hi Kevin,
Using Connect Method wodTelnetDLX connects to server. Without calling Connect Method you cannot detect connect errors.
In scripting environments like VBS commands are executed line by line. If some error occur component will return it immediately.
However you can use On Error Resume Next statement and receive error (if there is any) after Connect Method using wodTelnetDLX LastError and ErrorText Property.
[code]...
telnet.Connect
If telnet.LastError <> 0 Then
MsgBox telnet.ErrorText(telnet.LastError)
End If[/code]
If I maybe misunderstand your question can you maybe explain it little bit more and we will try to help you.
Regards,
Drazen
Complete thread:
- connection state - Kevin Hall, 2009-07-22, 20:10
- Re: connection state - woddrazen, 2009-07-22, 21:28