ping a PC using VB.net
-
Hi, how can i get this vbscript code into VB.net? thanks Set objShell = CreateObject("WScript.Shell") strPingResults = LCase(objExec.StdOut.ReadAll) If InStr(strPingResults, "reply from") Then Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
-
Hi, how can i get this vbscript code into VB.net? thanks Set objShell = CreateObject("WScript.Shell") strPingResults = LCase(objExec.StdOut.ReadAll) If InStr(strPingResults, "reply from") Then Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
-
Hi, how can i get this vbscript code into VB.net? thanks Set objShell = CreateObject("WScript.Shell") strPingResults = LCase(objExec.StdOut.ReadAll) If InStr(strPingResults, "reply from") Then Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
-
Hi, how can i get this vbscript code into VB.net? thanks Set objShell = CreateObject("WScript.Shell") strPingResults = LCase(objExec.StdOut.ReadAll) If InStr(strPingResults, "reply from") Then Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
If you're using .NET 2.0 (Visual Studio 2005) then you can use this...
My.Computer.Network.Ping
-
If you're using .NET 2.0 (Visual Studio 2005) then you can use this...
My.Computer.Network.Ping
i am using VS 2003. Where can i get to know what are the classes available for use?
-
i am using VS 2003. Where can i get to know what are the classes available for use?