PDA

Click to See Complete Forum and Search --> : To capture all the applicaitons


Vivaj
Mar 9th, 2002, 02:39 AM
I usiing windows 98 and windows 2000, I wanted to capture all the applications opened in my machine.

MerrionComputin
Mar 9th, 2002, 05:23 AM
To get all the running applications you can use the EnumWindows API (see ApiSystem.TopLevelWindows (http://www.merrioncomputing.com/EventVB/ApiSystem.html) property...)

Or, in winNT or higher, you can use CreateToolhelp32Snapshot and Process32First/Process32Next to walk through all the running processes, as per the ApiSystem.Processes (http://www.merrioncomputing.com/EventVB/ApiSystem_Processes.html) property...