Home All Groups Group Topic Archive Search About
Author
8 Mar 2006 3:47 PM
Big D
Before I use a activeX object for pinging an ipaddress is there a easy way
to ping within VB w/o having to shell out?

I am looking for some builtin object that would return some value of the
state meaning did the address return a reply.

Also, I created a label within the form that will display ONline or offline
based on the response. How can I display the Online in green or Offline in
red based on the reposnse?

Author
8 Mar 2006 4:03 PM
Rick Rothstein [MVP - Visual Basic]
> Before I use a activeX object for pinging an ipaddress is there a easy way
> to ping within VB w/o having to shell out?
>
> I am looking for some builtin object that would return some value of the
> state meaning did the address return a reply.
>
> Also, I created a label within the form that will display ONline or
offline
> based on the response. How can I display the Online in green or Offline in
> red based on the reposnse?

I think you should be able to use the information at this link to do what
you want...

http://vbnet.mvps.org/code/internet/ping.htm

You might also do a search on the work ping there to; maybe you can make use
of some of the other code available also.

Rick