Results 1 to 2 of 2

Thread: Displaying Networked Computers...

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2000
    Posts
    1

    Question

    Hello,
    I wish to display a list of the computers networked on a Windows NT Lan. Basically the same effect as going to Network Neighborhood. I need a list of the computers so that I can check it to a list of what computers _should_ be there and determine if a computer is/is not networked properly.

    I have looked at http://vbcity.com/vbcode/en/code.asp?id=68

    But the code will not return the names of the computers (comp1,comp2...,server1)

    According to my Dev. Library. You can pass RESOURCE_CONTEXT as the second parameter to WNetOpenEnum. RESOURCE_CONTEXT is described as 'Only resources in the network context of the caller (used for a Network Neighborhood view).'

    But I can not find what the value of RESOURCE_CONTEXT is. (The other three are &H1, &H2, &H3) What is the value of RESOURCE_CONTEXT?

    Any help is greatly appreciated, and thenk you for taking the time to read this,
    ~CPR

  2. #2
    daugman
    Guest
    This is one I use :P

    Code:
    Private Const RESOURCE_CONTEXT = &H5

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