Solved

Computer names in the network

Posted on 1998-09-03
2
134 Views
Last Modified: 2010-04-30
Can you show me how to make an code that will tell me the names of the computers on the network and the total number of computers on the network?
0
Comment
Question by:Nene19
2 Comments
 
LVL 14

Accepted Solution

by:
waty earned 20 total points
ID: 1432964
Go to my website, you will find code to do exactly what you want.

Otherwise, E-mail me, I have other sources here :

Web Site : http://www.geocities.com/ResearchTriangle/6311/ 
0
 

Expert Comment

by:vijayraj
ID: 1432965
What can be a simple and good solution to this question is to execute
"NET VIEW > NetworkNames.txt" using the "shellexecute"  API  or using the "shell" command . Now you can read the NetworkNames.txt file and
read the names of computers in the network.
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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

943 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

16 Experts available now in Live!

Get 1:1 Help Now