[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

log what programs did the user open or use

Posted on 2004-11-17
1
Medium Priority
?
153 Views
Last Modified: 2010-04-05
Hi, could it be possible to keep track on the programs that the user use or opened by using a log file. for example   11/18/2004 - 8:30 am MSMIM.EXE.
0
Comment
Question by:aerokevs
1 Comment
 
LVL 6

Accepted Solution

by:
Imthiyaz_ph earned 500 total points
ID: 12612099
Check out this site to get a snapshot of all running processes:
http://www.swissdelphicenter.ch/torry/showcode.php?id=616

you can get the start time of a process using GetProcessTimes  API.

BOOL GetProcessTimes(

    HANDLE hProcess,      // process handle
    LPFILETIME lpCreationTime,      // when the process was created
    LPFILETIME lpExitTime,      // when the process exited
    LPFILETIME lpKernelTime,      // time the process has spent in kernel mode
    LPFILETIME lpUserTime       // time the process has spent in user mode
   );
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Screencast - Getting to Know the Pipeline
Suggested Courses

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question