Results 1 to 11 of 11

Thread: how can I monitor processes in my computer?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Location
    I'm right here!
    Posts
    849

    how can I monitor processes in my computer?

    hello,

    I wanted to know how can know when one file is accessing another file and
    modifying it. I need to know which file modified which file.
    how can I do that?

    thanks

    Dekel C.

  2. #2

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Location
    I'm right here!
    Posts
    849

    Re: how can I monitor processes in my computer?

    ok, so how can I monitor these programs?
    Dekel C.

  4. #4

  5. #5
    Frenzied Member
    Join Date
    Oct 2003
    Posts
    1,301

    Re: how can I monitor processes in my computer?

    I know of a program -called Freefile- which can tell you which files are opened/locked and by which programs, so it can be monitored.

    I assume that you would need to talk to the filesystem through some API and ask what is opened.
    Last edited by jeroen79; Mar 17th, 2005 at 01:34 PM.

  6. #6
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: how can I monitor processes in my computer?

    You might want to look at the DeviceIOControl Function

  7. #7
    Frenzied Member dis1411's Avatar
    Join Date
    Mar 2001
    Posts
    1,048

    Re: how can I monitor processes in my computer?

    yes, microsoft word for example tells you what program has a locked a file it's trying to open.

  8. #8
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: how can I monitor processes in my computer?

    Quote Originally Posted by dis1411
    yes, microsoft word for example tells you what program has a locked a file it's trying to open.
    That's because all MS Office applications create an information file whenever they put a lock an a document of some sort.

  9. #9
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: how can I monitor processes in my computer?

    Quote Originally Posted by MartinLiss
    Files don't access or modify other files, programs do.
    But a program is also a file

  10. #10
    Frenzied Member
    Join Date
    Oct 2003
    Posts
    1,301

    Re: how can I monitor processes in my computer?

    No, a program is not a file.

    A program is a list of intructions to the computer so it can complete a task.
    Saving this list to disk is useful if you want to use it again in the future but not mandatory.
    Just open a new VB project and run it without saving.

    And it is not the program's file that accesses things, it is the program loaded into memory that does.
    Last edited by jeroen79; Mar 18th, 2005 at 03:12 AM.

  11. #11
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: how can I monitor processes in my computer?

    If you compile it on demand, it will create a temp file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width