Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Possibility to detect if a PC is online

Status
Not open for further replies.

GeertVerhoeven

Technical User
Oct 7, 2001
142
0
0
BE
Is there a possibility to trace if a PC is ONLINE.
I mean I want to detect if a PC with a given IP adress is online or not or if the IP adress is invalid. (Like the ping command does).

Gette
 
You could use the command prompt to try and ping the IP address:

Try
System.Diagnostics.Process.Start("ping [some ip address]")
Catch
msgbox("the computer is not online")
End Try

It may work...

Hope that helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top