Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is the application already running
Message
 
To
09/10/2002 04:24:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00709151
Message ID:
00709185
Views:
29
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform