I need an application in VB6 that scans the active processes and list both the application name and the process. These correspond to the 'image name' and the 'user name' fields in the processes tab of the task manager.
I know how to list the image name using CreateToolhelp32Snapshot, porcessFirst and processNext with the PROCESSENTRY32 structure. But I don't know how to find the 'user name'
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
vb6 on winXP and win2000