i try to build a aplication in vb for detect on real time which files are under utilization like antivirus software do.
any one can help me?
thanks a lot
You can monitor a directory (it doesn't appear that you can monitor just a single file). But if you monitor the directory that contains the file, whenever any file in that directory gets modified, your program will get alerted. This rely's on an API call to ReadDirectoryChangesW, check this link: