|
Outputting command data to a label?
Well, I'm just screwing around a bit and want to make a program to ping the website I input into the text box when I click a button. I want it to output the data of the ping to a label. Here's the code I used... Note I haven't coded in VB for about a year and a half and I'm rusty...
Private Sub cmdPing_Click()
Shell ("ping " + txtPing.Text > lblPing.Caption)
End Sub
I got a Runtime Error 53 saying file not found... Anyone know what's wrong?
|