Q

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 last published in May 2003

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.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchCloudComputing

SearchSoftwareQuality

SearchSOA

TheServerSide

SearchCloudApplications

Close