Watching Folder Activity in VB.NET

Conclusion

Hopefully this article has shown you how simple it is to incorporate the FileSystemWatcher class into your application.

Here are few things that you could do with FileSystemWatcher class:

  • Import a file the moment it is copied/uploaded to a particular folder
  • Recreate a file if the file is deleted
  • Notify all applications -- depending upon a file -- the moment a file is renamed, deleted or updated

You might also like...

Comments

About the author

Jayesh Jain

Jayesh Jain New Zealand

Jayesh Jain is working as a Business Analyst in Auckland, New Zealand. He has several years of n-Tier development experience in developing interactive client solutions. He has a passion for Web ...

Interested in writing for us? Find out more.

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The question of whether computers can think is just like the question of whether submarines can swim.” - Edsger W. Dijkstra