AdvancedHMI Software
General Category => Open Discussion => Topic started by: Darrell on December 12, 2016, 07:43:21 PM
-
is there simple way to ping an IP from a button in AHMI , Ive seen spread sheets where you enter and IP and it opens ping.exe and returns the info to the spreed sheet
-
Add a button to the form, double click the button and add this code:
Dim pinger As New System.Net.NetworkInformation.Ping
Dim result As System.Net.NetworkInformation.PingReply = pinger.Send(System.Net.IPAddress.Parse("192.168.0.101"))
MsgBox(result.Status.ToString)
-
You might also try this new control:
http://advancedhmi.com/forum/index.php?topic=1562.0