Solved

Computer names in the network

Posted on 1998-09-03
2
139 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 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

730 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