hi,
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
bruno

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:
http://www.vbcity.com/forums/topic.asp?tid=28055

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.