Finding computer names across subnets.

Posted on 2006-04-04
Last Modified: 2010-05-01
Is there anyway that I can build a small app that would allow me to specify a subnet and get back all of the computer names that are active?  For example, in PCAnywhere I can type for the host address and it will give me a list of all the active computers in that subnet.  I want to be able to do this in VB so that I can use that information for auditing.
Question by:thejkro
    LVL 4

    Expert Comment

    VB.NET or VB 6.0?
    LVL 4

    Expert Comment

    LVL 28

    Expert Comment


    Author Comment

    Thanks guys, but shortly after I left work today I thought of a better way of doing this.  I simply queried my AD server for all the computers in my domain...... I know I should have thought about it a long time ago.  Thanks anyways guys.

    Accepted Solution

    PAQed with points refunded (250)

    Community Support Moderator

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Suggested Solutions

    Title # Comments Views Activity
    Watch V6 5 42
    Need VBS version of Excel date conversion 4 43
    How to debug this code 7 28
    Run code from text file in vb 1 17
    Introduction In a recent article ( for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
    When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
    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…
    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…

    737 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

    22 Experts available now in Live!

    Get 1:1 Help Now