Solved

Getting Machine Names

Posted on 1999-01-11
2
143 Views
Last Modified: 2013-11-20
I am trying to find a control, source code, api function, anything, that will let me display a list of machine names that are on a network to a user. This would be similar to the map network drive dialog in explorer. Does anyone have any info about this??
0
Comment
Question by:dcofer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 200 total points
ID: 1327498
If you want to use a 'control', you might want to chweck out 'SHBrowseForFolder()' with the option 'BIF_BROWSEFORCOMPUTER' set in the 'ulFlags' member of the 'BROWSEINFO' struct. If you want to collect the names manually, 'NetServerEnum()' will do the job.
Feel free to ask if you have additional questions on this issue ...
0
 

Expert Comment

by:wwwky
ID: 1327499
goto codeguru -network for tips
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question