THANKS!!
bob
>>We have an application in FoxPro that creates a Local Database to implement an offline-view of an SQL server database. The problem we have occasionally is that the user will have multiple copies of our program running and will not be able to successfully get the database offline if that is the case.
>>
>>We'd like to kill the process of any "extraneous" copies of our software without killing the currently running version. I've downloaded the kill process programs that are here on this site and they seem to work just fine. Now my only dilemma is how do I determine which processID represents the one I'm currently running so I don't kill it?
>>
>>Thanks in advance for any help you can provide.
>>
>>Bob
>
>Try
>
>Application.ProcessID
>
>from
>
>
http://news2news.com/vfp/index.php?group=-1&function=222