Problem solve Get help with specific problems with your technologies, process and projects.

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.

Dig Deeper on .NET tutorials, guides and quizzes

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.