Solved

OnDirectoryContentsChange!

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

617 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