CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Posts
    12

    getting all the machine names in the network

    hi frndz..
    I have a form --> contains a textbox, a dropdown menu ( and some other controls )
    I also have a code such that if we give any IP address in the textbox, the (specific) servers running on that machine ( of the IP Address we provided) will be displayed in the dropdown menu.
    Now, I have to add a button ( to browse) such that on clicking the button, all the machine/server names in the whole network will be displayed in the dropdown menu
    What are the suggestions/help you can give??

    Thx

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: getting all the machine names in the network

    Would that be an Active Directory setup?
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jul 2006
    Location
    Germany
    Posts
    3,725

    Re: getting all the machine names in the network

    This rather easy sample contains a module which can be found multiple times in the web. Took me a while to dig it out.
    Can't really say, where I had it from. There are multiple origins, all slightly different, but basically the same code.
    It lists all domains and all computers of a selected domain. Also works with workgroups. The essential code is in the module. The form is just for demonstration how it works.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured