can someone help me im trying to make a program to ping sites to see there status
i though i can use shell
but i dont know how to use it
my code was something like this
shell "ping -l text2 text1"
do i make somthing wrong cuz i dosent work ?
heres a image of my project
ImageShack - Hosting :: 25834740ov5.jpg
How to Ping A Site !!!!
Started by kresh7, Nov 09 2007 05:59 AM
4 replies to this topic
#1
Posted 09 November 2007 - 05:59 AM
|
|
|
#2
Guest_Jordan_*
Posted 09 November 2007 - 06:35 AM
Guest_Jordan_*
Use the using System.Net.NetworkInformation namespace
Example in C#: http://forum.codecal...ng-program.html
PingReply reply = pingSender.Send(host, timeout, buffer, options);
Example in C#: http://forum.codecal...ng-program.html
#3
Posted 09 November 2007 - 11:50 AM
Well he is using vb6.0 as far as I know. And yes your code is completely wrong, use this:
I am assuming that Text 2 is the size of packets and Text1 is the url
Shell "ping -l " & Text2.Text & " " & Text1.Text
I am assuming that Text 2 is the size of packets and Text1 is the url
#4
Posted 19 November 2007 - 10:59 AM
thanks
#5
Posted 19 November 2007 - 12:45 PM
You are welcome for sure!


Sign In
Create Account


Back to top









