Now that's exactly what I'm after Jottum. Will try to incorporate this into my project and test as much as possible on different O/S. Thanks for your help so far.