Is there a way of finding out the computernames of all PC's on a LAN.

I want to use this in combination with this API call.

Private Declare Function NetMessageBufferSend Lib "NETAPI32.DLL" _
(yServer As Any, yToName As Byte, yFromName As Any, yMsg As Byte, _
ByVal lSize As Long) As Long

, so I was wondering if the PC's on the network clould be found using VB...