Click to See Complete Forum and Search --> : I need help for windows file system


arvind4u
December 10th, 2006, 01:49 AM
I am new to windows programming so I am posting here to see if I can get help.

I have a requirement where I need to write an application to moniter the windows files and folders, whenever a user, who is logged into the system with credentials, selects a file/folder (anywhere in the system), my application should get notified immediatly, and it will be logged into a log file. What I mean is that, I need to track which user selected / opened / executed a file/application/folder, with my application and log it into a log file.

Can anyone please provide some help or possibly point me to some resource where I can get all the help. If you have some code it will be of great help to me.

This requiremet is urgent.

Thanks in advance,
Arvind

Calculator
December 10th, 2006, 03:07 AM
Do you need to write a file system, or can you just sort of hook into Window's existing one? Maybe you could do some nifty stuff similar to

http://www.microsoft.com/technet/sysinternals/utilities/diskmon.mspx
http://www.microsoft.com/technet/sysinternals/utilities/filemon.mspx

arvind4u
December 10th, 2006, 02:50 PM
I need to capture the mouse "click, double-click" or keyboard "key press" event when the user selects the file / folder on the hard disk.

Sorry for not being clear.

-Arvind

humptydumpty
December 10th, 2006, 10:48 PM
Perform Hooking on your KeyBoard and on your Mouse and go ahead.
Thanx

Krishnaa
December 11th, 2006, 12:34 AM
You should go for explorer/shell add-ins, there you can monitor all explorer operations.

Articles on Shell extensions (http://www.codeproject.com/shell/)