>Hi All,
>
>In my MAIN PRG, I declared PUBLIC Variable that I release it at the end of my Application run. I use this variable to check if the application is already running.
>
>If I run the app twice, I don't find the public var. (I use the TYPE() function for that...), What Am I doing wrong ?
>
>Thanks,
>
>Gadi
Variables are scoped to the process that created them. When you launch your application again, none of the variables will be visible. Here is an article fro FoxPro Advisor by George Tasker on one way to do this. Because of its flexibility, I think it is the best.
http://www.advisor.com/Articles.nsf/aid/TASKG05
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao