?
Solved

Computer names in the network

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month7 days, 19 hours left to enroll

765 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