Logging running programs

Is there any tutorials floating around that would teach me how to record and save running programs, I'm in the middle of making a program and wanted to save the time spent in various programs

Or does anyone know how i would go about doing this =D

Thanks again for your time.
The Win32_Process object has either the UserModeTime or the CreationData properties if that's the kind of thing you're looking for: http://msdn.microsoft.com/en-us/library/windows/desktop/aa394372(v=vs.85).aspx

If you want the actual amount of time a user has spent interacting with each program then it might get a bit messy.
Im just after 2-3 programms i running i just want to record how long i spend in each and later save that info out to a doc
Topic archived. No new replies allowed.