Solved

Getting Machine Names

Posted on 1999-01-11
2
138 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
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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 51
fizzArray  challenge 1 96
Change to event 1 119
Way to decrease size of apk file 9 87
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

830 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