hello again,
i refered your suggession and created one MFC application ....in which i m creating a button , a combo box a list box and some other control for my project.

1. what i did (achieved) is :

when i clicked the button the application is flooding the no of domains ,servers and the individual computers at a time in a sequence by a callback function NetServerEnum() (callback --->i think so till now not checked) & i m displaying in the list box. but my requirement is different in the following manner ....
2. my requirement is :

when i click the button the application should enumerate the no of domains first and should put in the combo box.then when i will select one of the domain from the combo , i should get the list of computers in that particular domain , which i want to show in the list box.

how to do that ... using the same function ...??

please guide me ...

thanking u.

panda