that sample code did exactly what I needed...thanks!

my other problem is:
How remove old Serverprofiles

Cu