>Thank you Robert for your help about "Send Message",
>
> Now you maybe can help me in others questions.
>I'm writing a program that list all users from a
>NT Domain in a ComboBox, in another Combo I fill
>with groups for each user. I did this using two BATs:
>
>*** USERS.BAT create a list of all users
>NET USER /DOMAIN > USERS.TMP
>
>*** DETAILS.BAT create a file with Full Name
>*** Comment and groups that user belongs
>
>NET USER %1 /DOMAIN > DETAILS.TMP
>
>I open these files in low level and get all informations
>that I need. My question is: There is a more simple way
>using API?
Yes, all of these are available through the API's, but it is a bit above me at the time. Check out some VB books that deal with the API, specifically "Visual Basic Programmer's Guide to the WIN32API" by Daniel Appleman, Chapter 22 of the accompanying CD-ROM ( but not covered in the printed book !) contains some network functions.
Some parts of the NT API require licensing w/ M$, Specifically the SAM database...I'm always jealous of applications that validate a password against the user's network password on NT ( DB2, remotely possible etc...)
HTH
Robert Horkay
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only