I have a program that traces every time I connect to the Internet. The only trouble is I don't know how to find out the time when the user disconnects. I'll probably try to get the handle of the TLabel that displays Connecting to... and when it changes to Disconnecting.. then I'd just log the current time. But is there a more effective way? Thanks, Gajo Csaba --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz