|
-
Mar 17th, 2005, 10:36 AM
#1
Thread Starter
Fanatic Member
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
-
Mar 17th, 2005, 11:44 AM
#2
Re: how can I monitor processes in my computer?
Files don't access or modify other files, programs do.
-
Mar 17th, 2005, 11:47 AM
#3
Thread Starter
Fanatic Member
Re: how can I monitor processes in my computer?
ok, so how can I monitor these programs?
-
Mar 17th, 2005, 12:42 PM
#4
Re: how can I monitor processes in my computer?
I don't believe you can. What is the problem you are trying to solve?
-
Mar 17th, 2005, 01:28 PM
#5
Frenzied Member
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.
-
Mar 17th, 2005, 05:10 PM
#6
Re: how can I monitor processes in my computer?
You might want to look at the DeviceIOControl Function
-
Mar 17th, 2005, 05:48 PM
#7
Frenzied Member
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.
-
Mar 17th, 2005, 11:41 PM
#8
Re: how can I monitor processes in my computer?
 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.
-
Mar 17th, 2005, 11:49 PM
#9
Re: how can I monitor processes in my computer?
 Originally Posted by MartinLiss
Files don't access or modify other files, programs do.
But a program is also a file
-
Mar 18th, 2005, 03:06 AM
#10
Frenzied Member
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.
-
Mar 18th, 2005, 04:58 AM
#11
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|