Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I get a list of computer names on a LAN
Message
From
21/06/1999 19:14:03
 
 
To
21/06/1999 16:21:42
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00232181
Message ID:
00232275
Views:
16
>I am developing an app that allows the users to chat one on one with each other in real-time. I am using winsock for this and so far it works fine (Thanks to John Harvey for his post in the files section).
>The last piece of this is to give the user a list of computer names on the LAN that they can connect to. Can anyone give me an idea as to how I can get this list. It would be the same list you see when you click on Network neighborhood.
>

Download my NETRSC class and CLSHEAP classes - the NETRSC has a sample program that will search out all shares on all netowrks; it would be fairly easy to modify it to do what you want.

You might also investigate Microsoft's ADSI controls.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform