>Hi, All
>
>How can I detect when an application is already running on startup, I would like to restrict my application so that only one copy can be run at any time.
>
>Thanks
>
>Russ
Russ,
Vlad Tatavu has a file in the download system for single instance applications. The function Nigel mentioned was designed to be used with other applications (spreadsheets, word processors) to determine if they are already running, but it can (with VFP) be used for this purpose.
BTW, thanks to Nigel for the kind words.
George
Ubi caritas et amor, deus ibi est