Solved

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

Posted on 2000-05-07
3
194 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
  • 2
3 Comments
 

Author Comment

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

Accepted Solution

by:
chensu earned 200 total points
ID: 2786643
0
 

Author Comment

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

0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Question regarding Copy/Paste 16 96
Named range not carried over 10 63
NotAlone Challenge 20 84
Updating statistics with error notification email in SQL server 4 96
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

831 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