Hey folks,
I wanted to ask you how to display text "Success" in a text box once my VB application gets connected to a Linux server through PUTTY.
And further to it.....if it doesnt get connected, I need to display "Failure"
Thanks and regards...
sri
Printable View
Hey folks,
I wanted to ask you how to display text "Success" in a text box once my VB application gets connected to a Linux server through PUTTY.
And further to it.....if it doesnt get connected, I need to display "Failure"
Thanks and regards...
sri
How do you connect - show us your code.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If (Shell("C:\Documents and Settings\psriram\Desktop\PuTTy.exe 67.106.223.184")) Then
MsgBox("Successful Connection")
Else
MsgBox("Failed Connection")
End If
End Sub
But I always get the message "Successful Connection".....even if a server is down.
shell doesnt return any events..
you need to connect inside VB to get a connection state.
using an external program will not let you know anything
what is PuTTy.exe?
Putty is the SSh client thru which i connect to the Server.
Can you please guide me through the commands which will help me get going?
Appreciate your help
Is there some commands in VB which will directly check if some IP is active and display Success or not?
You should've posted in VB.Net forum instead ... ;)