I took the example off of your website of the SSH remote shell example just as a test.
What my question is and having difficulties is i set a textbox and button on the form
add the code below to the button, it will log in great but when it comes to ping test the form will freeze when i debug at this point in the code
Dim n As Long Dim pollTimeoutMs As Long pollTimeoutMs = 2000 n = ssh.ChannelReadAndPoll(channelNum,pollTimeoutMs) If (n < 0) Then TextBox1.Text = TextBox1.Text & ssh.LastErrorText & vbCrLf Exit Sub End If
what im looking to do really is start a shh connection, start of a ping scroll and let it scroll in the textbox.
See this Chilkat blog post: http://www.chilkatsoft.com/p/p_356.asp