Howard, i'm speechless. Your method does the job in under one second!
Great idea and thanks for the code! Thanks for ALL suggestions btw.

A few questions though:
Until now i only used adsi-com-scripting, so i'm not totally new to the usage of objects but i didnt know the 'dictionary-object'. What is that? Is it possible to assign more than one value to a key? How do i read the value(s) of a key them?

I dont understand why you remove the key if it already exists (middle part of the function) why not just 'exit' if it already exists?


cheers, rob


Edited by robweg (2006-03-08 07:02 PM)
_________________________
Eternity is a long time, especially towards the end. - W.Allan