Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Computer names in the network

Posted on 1998-09-03
2
Medium Priority
?
153 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
[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 14

Accepted Solution

by:
waty earned 80 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

610 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