Solved

Getting Machine Names

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Turn a spreadsheet into a vba executable. 2 78
Unix / Linux grid computing 5 144
maxBlock challenge 30 111
has22 challenge 11 78
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…
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.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

947 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now