Solved

OnDirectoryContentsChange!

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

739 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