>>Using Microsoft Spy++ I can search for a process by either the process ID or the process module (process name). I was looking for a WinAPI function which would allow me to do this from VFP.
>>
>>Anyone know how to do this?
>>
>>Thanks,
>>Bill
>
>I forgot to mention it has to run on Windows 95,98,NT,2000.
There's no single API call to do this, as there are distinct mechanisms required for different platforms. There are ActiveX components that implement support for more than one platform; the WshKit automation object from
Windows Script Host Programmer's Reference published by WROX Press does this; it was mentioned in a recent article in Windows NT Systems magazine, and may be available through their web site
www.ntsystems.com - I don't know if this is the case, but it's worth checking.