How do I list the computers connected to the server through a vb program. Is there any such control or any Winapi which will list me the domains and the computers connected to the server.

Some thing similar to the network neighborhood tree view in the windows explorer which displays the domains and the computers available in those domains.

Any help will be highly appreciated as the same is needed for a project I am working on.

Thanks