Thanks for all your help, sorry for being such a nuisance I gave that test prog to my firnd and cousin, they say it runs like a broken pocket watch so I can only assume your successs with it is because you are using non XP or an NT based machine.

Regardless your help has been invaluble, thanks. And you prob aint seen the last of me yet