>Sergey,
>
>This is great, I followed the link and I'm learning a lot, thanks for sharing this.
>Do you know the property that holds the user running the process?, I'm looking back and forth and can't find it.
>Also, VFP's Intellisense is not showing the "Terminate" method you used in your example or the "name" property I found in another sample in the WMI documentation for the process object, do you have a link where all of those properties and methods are listed?
>
Intellisense does not work with WMI, I ignore why.
To see the properties and methods, it is right there in Sergey's link, you should look at Win32 classes, for example:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_classes.asp or in your particular case
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_process.asp and
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/getowner_method_in_class_win32_process.asp
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges