It never returned .F. (or close) whatever
on my pc (WinNT4.0) with vfp 6.0 full install it worked fine
but on pc's (WinNT4.0) with just vfp 6.0 runtime installed it never would close the second (or 3rd or 4th....) instance
>What problems did you have ?
>
>Kev
>
>>Of course
>>
>>
>>>Stephen
>>>
>>>I'm assuming you put FOXTOOLS.FLL in the directory of the app ?
>>>
>>>Don't take that the wrong way, I'm just wondering if that was the problem.
>>>
>>>Kev
>>>
>>>>Hello Kevin
>>>>
>>>>I tried the "FirstInstance.prg" and it worked on my pc (had vfp installed) but not on any pc's without vfp full version install
>>>>
>>>>of course they had vfp runtime vfp6r.dll ect ....
>>>>
>>>>do me a favor and tell me if you get it to work.
>>>>Thanks
>>>>
>>>>>Hi
>>>>>
>>>>>I need an app to only be run once at one time.
>>>>>
>>>>>What's the best way to detect if a VFP app is already running ?
>>>>>
>>>>>Thanks
>>>>>Kev