Here is some code I slapped together
I think that will head you in the write direction at least, and you can probably figure out the rest.Code:Dim p As New Process Dim zztop As New ProcessStartInfo zztop.CreateNoWindow = True zztop.Arguments = "yahoo.com" zztop.FileName = "nslookup" zztop.RedirectStandardOutput = True zztop.UseShellExecute = False p.StartInfo = zztop p.Start() Dim stream1 As String = p.StandardOutput.ReadToEnd RichTextBox1.Text = stream1
- Joe




Reply With Quote