Sorry Miller I forgot to mention that I am using VC++6.0 just incase you were still wondering. Rory. ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie