$ 0 0 Hi Chris,I changed it now to a console application and that works fine.Thanks for your help.Hemmie