Visual Basic 2010 Server Status?

40 pts.
Tags:
C
visual basic 2010
I'm using Visual Basic 2010 c++ and I'm trying to make a server status so the user can see if the server is up or not. How would I do this?

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    Hi again lifeman.

    You really need to be more specific and provide more details in your questions, to increase your possibilities of getting useful answers.

    There is no such thing as Visual Basic 2010 c++.  You are either using Visual Basic, or C++ (or Visual C++). Could you please clarify?

    As for your actual question, we would need to know what you mean by "make a server status".  If you mean to show some information on the screen about the status of a server, then we would need to know how you get details from that server, and how you would like to display that information.

    Please keep in mind that we don't have even a remote idea of what you are doing, so we really need you to be more specific and provide as much details as possible.

    Thanks,


    68,495 pointsBadges:
    report
  • lifeman
    okey im doing c++ and here is a picture how it looks like http://gyazo.com/949bd6a2e806ec071bc8ce297898c5c4
    and here is the code im trying to use:

    Imports System.Net
    Imports System.Net.Sockets
    Public Class Form3
        Dim logonServer As New TcpClient()
        Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            MessageBox.Show("The Launcher is Loading all the informasion it need! it may take up to 1 min")
            Timer1.Start()
            Try
                logonServer.Connect("77.75.123.215", 9988)
    Catch generatedExceptionName As Exception Me.pict_logonServer.BackColor = Color.Red End Try If logonServer.Connected Then Me.pict_logonServer.BackColor = Color.Green logonServer.Close() End If
    40 pointsBadges:
    report
  • lifeman
    wops srry its vb
    40 pointsBadges:
    report
  • carlosdl
    Yes, it is VB.

    So, what is the problem with the code you posted?  Isn't it working?
    What exactly do you need help with?
    68,495 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following