>I want a function I can call when my application starts to see whether or not my application is already running.
>
>I know I've seen a code sample of this somewhere before, but I can't remember where I saw it. If anyone can point me in the right direction I'd appreciate it.
Hi Lance,
There are a couple of ways to do this. Vlad Tatavu has code here that will do this, or you could use my Is_Run32() function to check for the main form's title bar. That's also available in the download section. I prefer to use the technique I wrote about in the Nov. 98 issue of FoxPro Advisor. The URL is
http://www.advisor.com/wArticle.nsf/wArticles/FA9811.TASKG05. There's also an update posted there as well. (
http://www.advisor.com/wArticle.nsf/wArticles/FA9811.TASKG05UD).
I'd suggest that you examine all three methods and choose the one you like best.
George
Ubi caritas et amor, deus ibi est