Alright this is a general question but I will use Ping.exe for my example Lets say that I use shell to open ping
Shell("C:\WINDOWS\system32\Ping.exe" & " " & strAddress,
AppWinStyle.NormalFocus, True, 10000)
Where strAddress is some address I want to ping. What I want to know
is how I can capture the output by ping to use in my program.
One more question as well. Why is it that the program will run fine like it is above but if I try %windir%\system32\Ping.exe instead it says it can't find the file?
Thanks in advance.
Shell("C:\WINDOWS\system32\Ping.exe" & " " & strAddress,
AppWinStyle.NormalFocus, True, 10000)
Where strAddress is some address I want to ping. What I want to know
is how I can capture the output by ping to use in my program.
One more question as well. Why is it that the program will run fine like it is above but if I try %windir%\system32\Ping.exe instead it says it can't find the file?
Thanks in advance.