DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Getting filename of the file being opened by any application

Hybrid View

  1. #1
    TM Guest

    Getting filename of the file being opened by any application

    Dear all,

    I am trying to create a log for monitoring file usage on a computer. Can you
    suggest what API function or else can tell me the file being opened by ANY
    APPLICATION like access, excel, word etc. My program can run in the
    background and keep monitoring files opened and closed and log the same.

    Thanks in advance,

    TM




  2. #2
    Bernie Guest

    Re: Getting filename of the file being opened by any application


    "TM" <lalanexports@indiatimes.com> wrote:
    >Dear all,
    >
    >I am trying to create a log for monitoring file usage on a computer. Can

    you
    >suggest what API function or else can tell me the file being opened by ANY
    >APPLICATION like access, excel, word etc. My program can run in the
    >background and keep monitoring files opened and closed and log the same.
    >
    >Thanks in advance,
    >
    >TM
    >


    Hi,

    Download FileMonitor from http://www.sysinternals.com. This app does exactly
    what you're up to. And while you're there, -Take a look at RegMonitor and
    PortMonitor as well!

    ...why invent the wheel once more?

    Bernie


  3. #3
    ObiWan Guest

    Re: Getting filename of the file being opened by any application

    > Download FileMonitor from http://www.sysinternals.com.

    What's more, you could download the source code for
    that app too, so you will be able (if you want) to create
    your own file monitoring application



  4. #4
    TM Guest

    Re: Getting filename of the file being opened by any application

    Thanks, I have those utilities already, the problem i have is being a
    database VB programmer, of the whole log i am not able to determine which
    line suggests that a file is now open for editing OR has been closed after
    editing, i need to log those times for later processing.

    Can you help with that?

    Thanks aagain
    TM

    "Bernie" <magnus.bernroth@rejlers.se> wrote in message
    news:3da3e369$1@10.1.10.29...
    >
    > "TM" <lalanexports@indiatimes.com> wrote:
    > >Dear all,
    > >
    > >I am trying to create a log for monitoring file usage on a computer. Can

    > you
    > >suggest what API function or else can tell me the file being opened by

    ANY
    > >APPLICATION like access, excel, word etc. My program can run in the
    > >background and keep monitoring files opened and closed and log the same.
    > >
    > >Thanks in advance,
    > >
    > >TM
    > >

    >
    > Hi,
    >
    > Download FileMonitor from http://www.sysinternals.com. This app does

    exactly
    > what you're up to. And while you're there, -Take a look at RegMonitor and
    > PortMonitor as well!
    >
    > ..why invent the wheel once more?
    >
    > Bernie
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center