Watching... the disk?

wfunction

Well-known member
Joined
Oct 31, 2006
Messages
46
Programming Experience
1-3
Is it possible to "watch" a hard disk/partition?
I am trying to get a method called whenever it there is an I/O by an application to that drive... don't ask why. ;)
It's kinda like O&O Drive LED... if you have it.
If there is no API which does this, is there any free dll which does?
 
(Mod team have been sent an advisory note that this thread may be in the wrong section)

This isnt really data access - the forum is for acce3ssing database. What you require would almost certainly be achieved through low level API stuff, rather than high level managed code. I will ask what it is for though - it may turn out that a simpler solution to your problem will suffice.

What's it for?
 
Oh...

Oh, sorry about the misplacement.
Just out of curiousity, did you notice I was the same person who wrote the defragmentation thread? :D
I just program for fun - and you might want to know, I love using APIs as long as they don't contain ten structures which themselves contain twenty others... :cool:
So I want to know how they do it, and I might use it some day (sooner or later; most likely sooner). PLEASE don't ask how I'll use it. :rolleyes:
 
I had a notion that it might have been you, but I didnt follow it up. There are a few options you can take..

As you and I suspect, this kind of work would involve API stuff, rather than managed code. Because this is a .NET forum its likely that most the people never really touch API stuff. What i'd recommend you do is nip over to www.codeguru.com and ask in the C++ forums there - they're fairly good with various bits, and should be able to help you with the API calls you need. After you know what youre looking for, you can use tutorials or seek help here on how to integrate those api calls into your VB.NET program..
 
Back
Top