Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieving Windows Task Manager Processes Names
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Divers
Thread ID:
00968309
Message ID:
00968421
Vues:
9
This solution requires WMI to be installed.
lcComputer = "."
loWMIService = GetObject("winmgmts:" ;
+ "{impersonationLevel=impersonate}!\\" + lcComputer + "\root\cimv2")
colProcessList = loWMIService.ExecQuery ;
("Select * from Win32_Process")
For Each loProcess in colProcessList
?loProcess.name
Next
>Is there a way to detect (via VFP/API) what are the processes running on a users machine? Spyware seems easy to detect when you look at a user's running processes - it would be nice if I could have a VFP app that recorded their processes and alerted me to things running that should not be there. Any advice is appreciated! Thanks.
>
>Mark
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform