Hi mate. Well i guess your the expert and this may be the way to go but you might have a better idea. I will give you a bit of background and you can let me know.

This issue that i am trying to solve is part of a bigger application. The application is an app to create Active Directory users and add them to groups and set properties on their account such as address and home drive etc etc. I have everything in place and it all works 100%

My application also creates a Exchange account which is fine but what i also need is on my form a list box to query and display all the DL's, i need away of the user selecting all the DL's that they need and then as part of the user creation process add the user to said groups.

The code i posted does do that and does it very well but it is vbscript used in a HTML \ HTA application.

Anyway i hope that gives you a better idea of what i am trying to do and please advise the best way to go.

Thanks for your time and help on this.

Cheers