Solved

Getting Machine Names

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Installing Microsoft R server on REDHAT or SUSE Linux 4 137
Line meaning 9 85
Fibonacci challenge 11 121
Problem to App 4 80
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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 Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
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.

776 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