>My goal is to check to see if a specific process is running in windows NT and if it is then stop the process..
>
>Details:
>
>When you begin click on a specific command button in VFP 5.0, I want to check to see if another specific process is already running.
>
> If it is
> then I will ask the user if they want to cancel this process.
> If they do
> then I want to cancel the process
> Else If it is not
> then I will ask the user if they want to begin this process.
> EndIf
>
>Is this possible?
>
>Thank you in advance.
>
>JUrso
Look in the files section. There are two possibilities - by George Tasker and Paul Vlad Tatavu. I know George's is in the Win32API section - I assume that Vlad's is also. They both do just what you need.