how to get file name

Asked By Ashwin Upadhyay
06-Feb-10 12:09 AM
Earn up to 0 extra points for answering this tough question.

i want to find the name of office document(any like exel,word,access...etc) which is currently open on my operating system. It all is done through my C# code. If any one have any idea on that so plzz share it.

I created Shared add-in for that and also record the opening, closing time of that document and the time which the user spend on that is also recorded and did entry in databas but only the name of file is not getting and entered into database.

  Are you creating some spyware program?

[)ia6l0 iii replied to Ashwin Upadhyay
06-Feb-10 11:57 AM


  re: Are you creating some spyware program?

Ashwin Upadhyay replied to [)ia6l0 iii
08-Feb-10 01:19 AM

no its not spyware program.

actually i am creating a s/w like that when it install on client computer then the client watch his employee that is how much time  employee work on particular file every thing is recorded by this.

  This is what I call Corporate Spyware.

[)ia6l0 iii replied to Ashwin Upadhyay
08-Feb-10 02:29 AM
It is annoying to say, that you would be part of this.

Suggest your client an alternative. There are quite a handful of programs that let's you create a environment where you would have to checkout any file, do the work  and then later check in. The difference in two timestamps with the username would give you what you need. 

You might be just crossing the lines of privacy, if you attempt to do whatever you say in the way you have projected it. And moreover such applications can be killed using Task Manager and would lead to inefficient time tracking. 

How would you simply exclude the work done on personal office files (like his Resume , per say) with the ones that you may need to track. 

In case, your client is adamant about a time tracking system, tell him that you will develop a new - customized time tracking system and have your own file formats. 

Funny, isn't it?
  re: This is what I call Corporate Spyware.
Ashwin Upadhyay replied to [)ia6l0 iii
08-Feb-10 02:34 AM

But in client office nothing is allow then work.

That means the employee do only client work.not other or not personal and client want to knw an employee doing his work or not.

Create New Account