CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2006
    Posts
    10

    How to get a list of IPs from all PCs connected to LAN (VB Net)

    I have to control number of computers (up to 20) which all run my custom software.
    So I need to know IP addresses of all connected computers.
    How can I get list of all addresses in local network?

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

    Re: How to get a list of IPs from all PCs connected to LAN (VB Net)

    WMI Scripting is one option. First get Scriptomatic2 to see how they query all computers, then look at this:

    http://www.microsoft.com/technet/scr...7/hey0627.mspx
    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 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: How to get a list of IPs from all PCs connected to LAN (VB Net)

    This great project would also be quite useful :
    http://www.codeguru.com/forum/showth...post&p=1556461

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