|
-
May 15th, 2000, 04:54 AM
#1
Thread Starter
New Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|