Solved

Getting Machine Names

Posted on 1999-01-11
2
140 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.

739 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