I need to ping a website or a server from within VB. I dont want it to run MSDos/Ping.exe!
Printable View
I need to ping a website or a server from within VB. I dont want it to run MSDos/Ping.exe!
Hehe, I know you've seen me post this many times before.
Aren't you just lost without the search? :D
Attached is the code to ping.
is there an easier way of pinging a server?? Because that code is like 4 pages long when its not even going to be 1% of the program i'm making!
May be long, but it's worth it.
Other than that, try searching http://www.planet-source-code.com for pinging.
Matthew,
Is it possible to make your ping work with Letters as well? For instance "www.microsoft.com.au" because currently it falls over as soon as it tries to incorporate something like "www" into a Hexadecimal String which needless to say causes an error.
Any help on this matter would be great!
You askin' how to ping a web site?
Take a look at this link.
http://www.freevbcode.com/ShowCode.Asp?ID=632
Matthew < I spelled it right.
That is some pretty cool code. It's one of those little knick knacks in life that you have in the back of your mind and you never get around to it.
I am going to use it for this little app that i have that checks to see if all of our sites are up and modify it to see what the bandwidth is like. Thanks
Matthew,
Short and to the point, yet Diverse and Multi-purpose.
I Love it.
T-Bone I like the Quote. Very Cool.:cool::cool::cool::cool::cool::cool::cool::cool::cool::cool::cool::cool::cool::cool::cool::cool ::cool::cool::cool::cool::cool::cool::cool::cool::cool::cool:
yes, jjortiz its the sort of Quote that Karl Moore would enjoy!
What is the usage? Like, if someone clicks a button, How do I make it ping 1.2.3.4 with that code?Quote:
Originally posted by Matthew Gates
Hehe, I know you've seen me post this many times before.
Aren't you just lost without the search? :D
Attached is the code to ping.
karl moore, that funny little man who starngely resembles wayne hemingway. ho ho how i laughed :p