Select Page

Category Selected: Uncategorized

1 results Found


People also read

API Testing

Postman API Automation Testing Tutorial

Automation Testing

Top 10 AI Automation Testing Tools

Automation Testing

Talk to our Experts

Amazing clients who
trust us


poloatto
ABB
polaris
ooredo
stryker
mobility

Checking Remote Computer Availability

There might be a case where we have to connect to remote
computer. In such case, before connecting to the remote computer, How to confirm remote computer is available or not?

Code

Dim oNetwork

'Creating Visual Basic Network object
Set oNetwork=DotNetFactory.CreateInstance("Microsoft.VisualBasic.Devices.Network"
,"Microsoft.VisualBasic")

'Ping method returns True, if remote computer is available.
If oNetwork.Ping("192.01.01.01") Then
Msgbox "Available"
Else
Msgbox "Not Available"
End If

Set oNetwork=Nothing
  

Synopsis

We can also ping with URL or computer name.