How to Open cmd prompt and ping an ip address from vb.net

  • for further details and related topics http://www.codecorner.somee.com/
  • 1 Comment sorted by
  •  


     


    Private
    Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim Command As String
    Command =
    "ping 192.168.0.47"
    Shell(
    "cmd /k" & Command, 1, True)
    End Sub
     
     
    This code will open Cmd Prompt you can do Furter option from code beind
     

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week