| | |
Server checker
Thread Solved |
•
•
Join Date: Oct 2005
Posts: 62
Reputation:
Solved Threads: 0
hey boyz/girlz
i need to make a code for a server status checker, how would i do it?
at the moment the server is checked by using this
http://deep.phpwebhosting.com/~parad...erverCheck.php
how can i convert that into a simple program that can run on the desktop?
i need to make a code for a server status checker, how would i do it?
at the moment the server is checked by using this
http://deep.phpwebhosting.com/~parad...erverCheck.php
how can i convert that into a simple program that can run on the desktop?
The easiest solution is to shell a ping command, and redirect the output to a temporary file. Open the Temporary file, and have your VB Program read in the lines (compare using instr) and check if there is a timeout, or if there is a response from the server. If there is a response from the server, naturally, the server is up. If you get, instead, a ping timout, then the server is down. If you really want to get fancy about it, you could try to connect the server on port 80 (the web page port), rip apart the HTML, and have it figure if the image is Red or Green. The first option is clearly easier, and is just as effective. Let me know if you need any further assistance in this.
Why not just look for a script that does this? Try searching HotScripts.com. There are plenty there that do just that.
•
•
Join Date: Oct 2005
Posts: 62
Reputation:
Solved Threads: 0
thx ill chk that,
yea ill just put a better description of what i am trying to do.
this server is used to host the game World of Warcraft, and im trying to get a small program to run that will connect to the server, telling me if the server is up or down. but i dont know how to get it to connect to the server properly.
becasue i have never done anything like this before, i would like sum help doing it.
i can make the UI for it, or even better could someone tell me how to get it to run in the system try so that i can keep it running whilst doing other things.
or if anyone knows of somewhere that i can download a program that already does this simply.
yea ill just put a better description of what i am trying to do.
this server is used to host the game World of Warcraft, and im trying to get a small program to run that will connect to the server, telling me if the server is up or down. but i dont know how to get it to connect to the server properly.
becasue i have never done anything like this before, i would like sum help doing it.
i can make the UI for it, or even better could someone tell me how to get it to run in the system try so that i can keep it running whilst doing other things.
or if anyone knows of somewhere that i can download a program that already does this simply.
![]() |
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: I need suggestions for creating a Help system for a Visual Basic Program.
- Next Thread: Can anyone help me??
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






