login about faq

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.

asked Mar 11 '13 at 09:05

chilkat's gravatar image

chilkat ♦♦
11.8k316358420


See this Chilkat blog post: http://www.chilkatsoft.com/p/p_356.asp

link

answered Mar 11 '13 at 09:05

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×35
×19
×14
×3
×1

Asked: Mar 11 '13 at 09:05

Seen: 1,354 times

Last updated: Mar 11 '13 at 09:05

powered by OSQA