I just wanted to know if, is there a way in VB or VC++ to detect that a certain program has been used awhile ago? Example, it's 4PM right now and I wanted to know if somebody used Excel.exe about an hour ago (3PM)?

Thanks.