Using FileSystemWatcher in VisualBasic.NET

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

This was a great video and was able to get me started using the FileSystemWatcher. After playing with your code for awhile my project kept closing down randomly. I played with it a bit and found If I was trying to work with the file that was just changed the progam would shut down until I added 1 more line of code.

fsw.SynchronizingObject = Me

Ths kept my program from shutting down and allows me to do what I need to do with FileSystemWatcher.

Great video for anyone looking to learn.

CMGreene
Автор

Did it fire multiple change events on the creation of a single file back then? Trying in 2020 and haven't found a solution yet!

siwilson
Автор

Very In-Depth ... But Good. Only for advanced coders this is very technical

KraxedHD
Автор

Its nice. Thanks. Can you please teach how to redirect cmd output to a text file in vb.net?

urvishah
welcome to shbcf.ru