Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine all current Win process
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01064064
Message ID:
01064290
Views:
201
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform