Conversion was easy using:
http://authors.aspalliance.com/aldot...translate.aspx
This solution executes PING and gives the standard PING response. Actually,
I want to hit the site with a string such as google.com then read sufficient
information from the return so that I can verify that the correct page is
being displayed. For example, I want to verify that the return page contains
"Please enter your login ID"
I modified your code slightly but when I execute it, it only opens the Web
site and does not return anything to p.StandardOutput.
Here is the code that I used:
Dim p As New Process
Dim pi As New ProcessStartInfo
pi.UseShellExecute = False
pi.RedirectStandardOutput = True
pi.Arguments = "www.google.com"
pi.FileName = "C:\Program Files\Internet Explorer\iexplore.exe"
p.StartInfo = pi
p.Start()
Dim sr As System.IO.StreamReader = p.StandardOutput
Dim s As String = sr.ReadToEnd
MsgBox(s)
"Cor Ligthert" wrote:
http://groups-beta.google.com/group/...9d1b82c9?hl=en