How do I embed network browsing capability into my VB.NET app?

I'd like to embed some network browsing capability into a VB.NET application, something like the native "My Network Places," to let the user choose from a list of computers that were found on the network. Could you please suggest a way to do that?
Excellent question! I originally thought there was a common dialog for this, but was surprised to find out one does not exist. However, there's the Win32 NetServerEnum and WNetEnumResource APIs, which forms the basis of how to enumerate servers. Here is a good example of how to use the API.

This was first published in May 2003