?
Solved

detecting when a file of type .mp3 has been added...

Posted on 2000-05-07
3
Medium Priority
?
202 Views
Last Modified: 2013-11-20
I have a listctrl with a list of all .mp3 files on the hard drive. When the application is started up the first time I search the drive for all .mp3 files and fill the list and I create a database to retrieve from later so I don't need to search again. But a file could have been added while my program was running(after I already searched) or when my program wasn't running.

I need a way to find out when a .mp3 file was added to the hard drive and automatically update my list. Someone suggested I do a system hook. Is there an easier way? if not could I get an example of a system hook to check if a .mp3 file has been added?

Thank you
RevG
0
Comment
Question by:RevG
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:RevG
ID: 2786306
Adjusted points from 50 to 200
0
 
LVL 23

Accepted Solution

by:
chensu earned 800 total points
ID: 2786643
0
 

Author Comment

by:RevG
ID: 2786839
Thank you very much!! :)
Exactly what I needed!!

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question