I'm building an app to assist me at work... this is how it works:
2. Textbox1.text (type in an IP Address e.g. 10.10.10.10)
3. Textbox2.text (blank for now)
3. Button (if pressed, opens CMD and pings textbox1 data)
if possible, I would like to automatically get the ping data from CMD and copy it back to my winform TextBox2.
Lazy I know, I do this task day-in, day-out and I thought I would try building an app that condenses my work)
THE CODE BELOW OPENS CMD.EXE & PINGS TEXTBOX DATA.
Dim ps As New Process
.FileName = "cmd.exe"
.Arguments = "/K ping " & TextBox1.Text '& "-n 1"
.CreateNoWindow = False