>Ed
>
> Thanks for the help. Currently \\workgroup is a WIN95 workgroup name. Will ANetResources work if I give it a WIN NT 4.0 domain name? I was testing it on WIN95 peer network. I downloaded your NETRESOURCE and it looks like I can use it for what I need. Will it be difficult to modify it so I get just available server names and no drive or printer info?
>
It souldn't be; the code is pretty heavily commented, and additional details are in the MSDN docs if you need them. Essentyially, you want to ignore everything that isn't a container; anything not a container is a provider or a host.
>TIA