file on acess in real time


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: file on acess in real time

  1. #1
    Join Date
    Sep 2005
    Posts
    10

    file on acess in real time

    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

  2. #2
    Join Date
    Nov 2003
    Location
    Alameda, CA
    Posts
    1,737
    interesting problem.
    Of course it cannot be done in straight VB, but you'll have to use some API (in fact I wouldn't do this in VB at all)
    A possible solution is, on a Timer base, to enumerate all running processes (I think with EnumProcesses), open one process per time, enumerate all its Handles and figured which one is a file.
    "There are two ways to write error-free programs. Only the third one works."
    Unknown

Similar Threads

  1. Help needed in Real time implementation!
    By tushar0123 in forum C++
    Replies: 3
    Last Post: 11-28-2005, 04:56 PM
  2. Real Programmers
    By pwilmarth in forum .NET
    Replies: 54
    Last Post: 10-01-2003, 01:00 AM
  3. How long before the next version??
    By _CAG in forum .NET
    Replies: 146
    Last Post: 08-12-2002, 11:40 PM
  4. Replies: 3
    Last Post: 05-31-2000, 11:30 AM
  5. File Date & Time
    By Joe P in forum authorevents.appleman
    Replies: 1
    Last Post: 04-11-2000, 05:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center