I am trying to check report files in a number of remote computers but if a computer is not switched on it takes forever.
My computer seems to freeze for a minute every time it cant connect for any reason.
I have tried opening the same file in every computer in turn (from a list) Eg - - - -
On error goto ComputerNotOn
For Item = 1 to 20
Open "\\" & IPAddress(Item) & "\c\ReportFile.txt" for Input as #1
Close #1
Next
Same using FileSystemObjects Getfile
But they all wait for a long long time when not connected.
Is there an instant way of seeing if a computer with a known IP address is there or not?
My computer seems to freeze for a minute every time it cant connect for any reason.
I have tried opening the same file in every computer in turn (from a list) Eg - - - -
On error goto ComputerNotOn
For Item = 1 to 20
Open "\\" & IPAddress(Item) & "\c\ReportFile.txt" for Input as #1
Close #1
Next
Same using FileSystemObjects Getfile
But they all wait for a long long time when not connected.
Is there an instant way of seeing if a computer with a known IP address is there or not?