Solved

OnDirectoryContentsChange!

Posted on 2000-03-24
3
129 Views
Last Modified: 2010-05-02
Any way of running a program in the background that can call a procedure every time the contents of a specific directory changes?
0
Comment
Question by:basica
3 Comments
 
LVL 14

Expert Comment

by:mcrider
ID: 2655251
The only way I know of doing this is to use the Dir function or a FileListBox or FS call to keep track of the files in a directory. Then you match the current contents of the directory with the last time you looked at the directory...


Cheers!®©
0
 
LVL 32

Accepted Solution

by:
Erick37 earned 50 total points
ID: 2655288
"Automatically Detect When the Contents of a Folder Change"

http://www.thescarms.com/vbasic/FolderSpy.htm
0
 

Author Comment

by:basica
ID: 2656196
Cool - thanks.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

705 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now