I don't suppose you know how to collect network
information, like in the network places window?
Create it so that it would display workgroups and allow
you to click to view the computers in the selected
workgroup etc.
I was thinking it also was an api call that would return
an enumeration of some sort. If that is the case then how
would I represent that in a listview?
thanks again for any help
-----Original Message-----
NetUserAdd
NetUserEnum
You'll need to use P/Invoke (or the VB Declare
statements). The functionsare in Netapi32.dll
Also note that your program needs to run with an
Admin/owner account for addto work.
Specify null (String.Empty) for the server name to create
a Local user(rather than a network/domain user).
-Rob Teixeira [MVP]
"Hudson Gevaert" <an*******@discussions.microsoft.com>
wrote in messagenews:08****************************@phx.gbl... Hi, I was wondering if anybody new how to create a
windows xp user account from within VB code. I was also curious
how to list all the user accounts on a machine.
Thanks,
Hudson Gevaert
.