Hi all Is there a way to determine how an application was launched, e.g. from a desktop shortcut, clicking on executable in Windows Explorer, or launched by a 'parent' application? Example: Application A launches application B, we have no control over application A, but in application B we want to know who is its 'parent' process? TIA Martin "WS SMTP relay" made the following annotations on 11/13/00 11:02:09 ------------------------------------------------------------------------------ [INFO] -- Content Manager: [MMSSOV] This e-mail message and any attachments are confidential to Sovereign Limited and subsidiaries and subject to legal privilege. If you have received this e-mail in error, please advise the sender immediately and destroy the message and any attachments. If you are not the intended recipient you are notified that any use, distribution, amendment, copying or any action taken or omitted to be taken in reliance of this message or attachments is prohibited. ============================================================================== --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"