Solved

OnDirectoryContentsChange!

Posted on 2000-03-24
3
135 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

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

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