John Pickford #1 Ahh, that does it. But what if you write a windows app and someone closes it?Can you post the source code? I've no idea how to use the DLL.Cheers.