Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42225

Way to check if a specific PC is in my network

$
0
0
Hi all, well... the title says all. I wanna check if a pc exists on my network, for example "JOAN-PC".

Now I'm doing something like this:

Code:

Dim oShell As Object
Set oShell = CreateObject("Shell.Application")
MsgBox Not CBool(oShell.NameSpace(CVar("\\JOAN-PC")) Is Nothing)

Works good, but is slow...
Somebody of you know a fast way to do it?
Thanks in advance. :)

Viewing all articles
Browse latest Browse all 42225

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>