>I need to figure out if my application is already running and display message to the user.
>
>How can this be acheived?
>
>TIA
>
Munish,
While I must admit that my friend Ed's solution is probably the easiest and most reliable to implement, still there was my article that appeared in FoxPro Advisor back in the November, 1997 issue. You can read it on-line at
http://www.advisor.com/doc/05263.
I'd also caution against using any solution that relies on simply the known portion of the title bar text, such as my Is_Run()/Is_Run32() functions. There is the potential for such functions to return inaccurate results. Therefore, I'd recommend either's Ed's event based solution or my mutex based one.
George
Ubi caritas et amor, deus ibi est