|
-
Jun 20th, 2005, 01:05 PM
#1
Thread Starter
Junior Member
URGENT: how to display text "Success" once my VB application gets connected to server
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
-
Jun 20th, 2005, 01:31 PM
#2
Re: URGENT: how to display text "Success" once my VB application gets connected to server
How do you connect - show us your code.
-
Jun 20th, 2005, 03:24 PM
#3
Thread Starter
Junior Member
Re: URGENT: how to display text "Success" once my VB application gets connected to server
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.
-
Jun 20th, 2005, 03:45 PM
#4
Re: URGENT: how to display text "Success" once my VB application gets connected to server
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?
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jun 20th, 2005, 03:48 PM
#5
Thread Starter
Junior Member
Re: URGENT: how to display text "Success" once my VB application gets connected to server
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?
-
Jun 20th, 2005, 06:45 PM
#6
Re: URGENT: how to display text "Success" once my VB application gets connected to server
You should've posted in VB.Net forum instead ...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|