Yeah, the command line of :

net view /domain:domainname

gets you an ASCII list of the currently connected domain-participating PCs. So if you only have to run this thing once, no sense in writing code to deal with that. Just get the list and put it in the code.
_________________________
Tony Fabris